Skip to main content

Module convert

Module convert 

Source
Expand description

XML to JSON conversion.

Converts XML documents to serde_json::Value preserving the element hierarchy. Attributes are prefixed with @, text content uses #text.

Functionsยง

extract_at_path
Navigate into a JSON value using a dot-separated path and extract matching records. If the final element is an array, its items are returned individually.
xml_to_json
Convert an XML string to a JSON value.