XML to JSON Node
The XML to JSON Node converts a well-formed XML document into a JSON String. Some information may be lost in this transformation because JSON is a data format and XML is a document format. The following rules will be applied during the conversion process:
- XML uses elements, attributes, and content text, while JSON uses unordered collections of name/value pairs and arrays of values
- JSON does not does not like to distinguish between elements and attributes
- Sequences of similar elements are represented as JSONArrays
- Content text may be placed in a "content" member
- Comments, prologs, DTDs, and <[ [ ]]> are ignored
- All values are converted as strings, for 1, 01, 29.0 will not be coerced to numbers but will instead be the exact value as seen in the XML document
General Settings
There are no settings for this node
Qoppa Software's PDF Automation Server for Windows, Linux, Unix, and macOS
Automate PDF Document Workflows through RESTful Web Services & Folder Watching
Copyright © 2002-Present Qoppa Software. All rights reserved.