%json2toml(1) user manual | version 1.2.12 03b4ff7 % R. S. Doiel % 2024-11-14
json2toml
json2toml [OPTIONS] [JSON_FILENAME] [TOML_FILENAME]
json2toml is a tool that converts JSON objects into TOML output.
-help : display help
-license : display license
-version: display version
-nl, -newline : if true add a trailing newline
-o, -output : output filename
-p, -pretty : pretty print output
-quiet : suppress error messages
These would get the file named "my.json" and save it as my.toml
json2toml my.json > my.toml
json2toml my.json my.toml
cat my.json | json2toml -i - > my.toml
json2toml 1.2.12