Wiki source for CommandXml2json

Show raw source

======Command xml2json======

**json2xml** converts a JSON file to an xml file using the [[ JXML schema]].

xml2json[ [[SerializationOptions serialization options]] [options] ] [xml file]


||-p,-print||Pretty Print the JSON output||

Supports the standard [ [[SerializationOptions serialization options]] ]

If no file is specified then stdin is read.



Assuming an input file json.xml
<object xmlns="">
<member name="foo">
<member name="bar">


xml2json -p json.xml


====Return Value====
Returns 0 if the conversion is successful
See [[CommandJson2xml json2xml]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki