Skip to main content

Module xml_convert

Module xml_convert 

Source

Constants§

DEFAULT_MAX_XML_DEPTH
Default maximum XML nesting depth accepted by xml_to_json and xml_to_json_with_depth_limit (R5-L3).

Functions§

json_to_xml
validate_xml
Validate that the input is well-formed XML.
xml_to_json
Convert an XML string to a JSON value.
xml_to_json_with_depth_limit
Convert XML to JSON with an explicit maximum nesting depth.