pub fn xml_to_json(xml: &str) -> Result<Value, FaucetError>Available on crate features
source-rest and source-xml only.Expand description
Convert an XML string to a JSON value.
Elements become objects, repeated elements become arrays, attributes
are stored with @ prefix, and text content uses #text.