pub fn xml_to_json(xml: &str) -> Result<Value, FaucetError>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.
pub fn xml_to_json(xml: &str) -> Result<Value, FaucetError>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.