USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Convert the XML buffer to a JSON string
Serialises the current XML document (mdoc) to a JSON string placed in the result buffer. Supports field name untagging and pagination so large XML documents can be converted and posted in chunks.
| Parameter | Description |
|---|---|
| cmd | Record map (element name for each row) |
| Argument 0 | Field map (element name for each field within a row) |
| Argument 1 | 1 to untag field names (default true) |
| Argument 2 | Maximum rows per JSON page; 0 means all rows in one output (default 0) |
| Argument 3 | Page number to output when using pagination; one-based (default 0 means first page) |
XmlToJson "Record map (element name for each row)", "Field map (element name for each field within a row)", "1 to untag field names (default true)", "Maximum rows per JSON page; 0 means all rows in one output (default 0)", "Page number to output when using pagination; one-based (default 0 means first page)"