Scoped GlideSystem - xmlToJSON(String xmlString)

Takes an XML string and returns a JSON object.

Table 1. Parameters
Name Type Description
xmlString String The XML string to be converted.
Table 2. Returns
Type Description
Object A JSON object representing the XML string. Null if unable to process the XML string.
var jsonObject = gs.xmlToJSON(xmlString);