Skip to main content

## shell command toolkit :: convert json to toml

Project description

json2toml

  • 命令行工具(v2023.10.04)

usage: 

## shell command toolkit :: convert json to toml
    
    json2toml (2023.10.08)

eg:
  [0] json2toml --help                                  ; show help
  [1] json2toml input.json output.toml                  ; json to tmol
  [2] json2toml input.toml output.json                  ; toml to json   
  [3] json2toml --stdin '{"name":"jsonfile"}'         ; stdin:json to stdout:toml
  [4] json2toml --stdin 'name = "jsonfile"' --mode=2    ; stdin:toml to stdout:json

options:
  -h, --help            show this help message and exit
  -v, --version         show versions
  -i, --stdin           stdin::text
  -d, --dry_run         debug only, 不运行,只打印调试参数
  --force_redo          force overwrite
  --indent INDENT       output json/toml file
  --mode MODE           0-auto; 1-json2toml; 2-toml2json;
  --input_file INPUT_FILE
                        input json/toml file
  --output_file OUTPUT_FILE
                        output json/toml file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

json2toml-2023.10.8.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page