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 details)

Uploaded Source

File details

Details for the file json2toml-2023.10.8.tar.gz.

File metadata

  • Download URL: json2toml-2023.10.8.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for json2toml-2023.10.8.tar.gz
Algorithm Hash digest
SHA256 5fe0d37b27a411d92a7955d205e2efddb417bc4a130b30ae55b0441513f46860
MD5 1ff9af9058bd95cfa31944899f8acda2
BLAKE2b-256 eb6faa4db7edf279d6f2e027d37c5888bcedf69cae47439f24447c7025bc80e3

See more details on using hashes here.

Supported by

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