Skip to main content

value_to_xml

Function value_to_xml 

Source
pub fn value_to_xml(value: &Value, root: &str) -> String
Expand description

Serialize a Value as an XML document with root as the document element. Arrays are written as <item> children, mirroring the input convention, so output can be fed back in as input.