x2js
x2js copied to clipboard
Pretty print XML produced with x2js
I'm using x2js.json2xml_str() to generate XML files from JSON. This call outputs an unindented string that is unreadably by humans. It would be great to be able to pretty print resulted XMLs. I've briefly looked into the code of x2js but couldn't find anything helpful. Is pretty printing currently supported?
+1
+1