Skip to content

janstarke/xml2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: -]