Are XML attributes preserved when converting to JSON?
Yes, attributes are preserved as properties prefixed with `@_` so zero metadata is lost during conversion.
Parse XML elements, attributes, and repeating nodes into clean JSON objects.
Converts nested XML tags into JSON objects, automatically groups repeating sibling tags into JSON arrays, and preserves attributes with the `@_` prefix.
An element like `<price currency="USD">49.99</price>` cleanly converts to `{"price": {"@_currency": "USD", "#text": 49.99}}`.
Inspect and convert legacy XML responses into ready-to-use JSON structures for React, Node.js, and TypeScript applications.
Yes, attributes are preserved as properties prefixed with `@_` so zero metadata is lost during conversion.
Multiple sibling tags with the same name (e.g., multiple `<item>` elements inside `<channel>`) are automatically grouped into a JSON array.
Yes, numeric and boolean text values are parsed into native JSON numbers and booleans.