#cli-tool #xml #json #convert #com

app xml2json

CLI tool to convert XML into JSON

4 releases

0.1.3 Jun 24, 2022
0.1.2 Jun 24, 2022
0.1.1 Jun 24, 2022
0.1.0 Jun 24, 2022

#196 in #xml

GPL-3.0 license

20KB
174 lines

xml2json

CLI tool to convert XML into JSON

Installation

cargo install xml2json

Usage

xml2json 0.1.0
Jan Starke <Jan.Starke@t-systems.com>
CLI tool to convert XML into JSON

USAGE:
    xml2json [OPTIONS]

OPTIONS:
    -h, --help                     Print help information
    -J, --json-file <JSON_FILE>    path of the JSON file to write to; we use '-' to denote STDIN
                                   [default: -]
    -q, --quiet                    Less output per occurrence
    -v, --verbose                  More output per occurrence
    -V, --version                  Print version information
    -X, --xml-file <XML_FILE>      path of the XML file to read from; we use '-' to denote STDIN
                                   [default: -]

Dependencies

~6.5MB
~114K SLoC