xmlschema-xml2json1
Xml to json converter
Overview
usage: xmlschema-xml2json [OPTION]... [FILE]... Try 'xmlschema-xml2json --help' for more information.
decode a set of XML files to JSON.
positional arguments:
- [XML_FILE ...]
-
XML files to be decoded to JSON.
options:
-
-h, --help -
show this help message and exit
-
-v -
increase output verbosity.
-
--schema PATH -
path or URL to an XSD schema.
-
--version VERSION -
XSD schema validator to use (default is 1.0).
-LURI/URL URI/URL-
schema location hint overrides.
-
--converter NAME -
use a different XML to JSON convention instead of the default converter. Option value can be one of ('unordered', 'parker', 'badgerfish', 'gdata', 'abdera', 'jsonml', 'columnar').
-
--indent INDENT -
indentation for a pretty-printed JSON output (default is the most compact representation)
-
--lazy -
use lazy decoding mode (slower but use less memory).
--defuse(always, remote, never)-
when to defuse XML data, on remote resources for default.
-
-o, --output OUTPUT -
where to write the encoded XML files, current dir by default.
-
-f, --force -
do not prompt before overwriting.
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.
--indent since Debian 13 (Trixie).