Zoomed Image

AMSX Scripting Language - Command : JsonToXML2

Summary

Convert JSON in the result buffer to an XML document using the internal JSONParser

Description

Parses the current result buffer as JSON and loads the output into the XML buffer (mdoc). Uses the internal JSONParser class which handles record-node mapping. The result buffer must contain valid JSON before this command runs.

Parameters

ParameterDescription
cmdName of the JSON node that contains the list of records (the root element name in the resulting XML)

Syntax


JsonToXML2 "Name of the JSON node that contains the list of records (the root element name in the resulting XML)"

Return to the AMSX Command Reference