Convierte entre formatos JSON y XML bidireccionalmente con manejo adecuado de estructura
JSON is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
XML is a markup language that defines rules for encoding documents in a format that is both human-readable and machine-readable.
JSON arrays with multiple elements of the same type are wrapped using repeated XML tags. Null values produce self-closing XML tags.
Converting between JSON and XML is useful when integrating modern REST APIs with legacy SOAP services, migrating data formats, or transforming data for reporting tools.
{"name": "John", "age": 30}<root>
<name>John</name>
<age>30</age>
</root>{"items": [1, 2, 3]}<root>
<items>1</items>
<items>2</items>
<items>3</items>
</root>