command
Version:
v2.0.4
Opens a new window with list of versions in this module.
Published: Aug 22, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tomljson is a program that converts TOML to JSON.
Usage ¶
Reading from stdin:
cat file.toml | tomljson > file.json
Reading from a file:
tomljson file.toml > file.json
Installation ¶
Using Go:
go install github.com/pelletier/go-toml/v2/cmd/tomljson@latest
Source Files
¶
Click to show internal directories.
Click to hide internal directories.