...
Code Block |
---|
parse-xml-to-json :column [depth] :keepStrings [boolean] |
column
is the name of the column in the record that is an XML document.depth
indicates the depth at which the XML document parsing should terminate processing.keepStrings
OPTIONAL boolean value that if true, then values will not be coerced into boolean or numeric values and will instead be left as strings. The default value isfalse
.
Note: keepStrings config was introduced in CDAP 6.10.1.
Usage Notes
The PARSE-XML-TO-JSON directive efficiently parses an XML document and presents it as a JSON object for further transformation.
...