tomljson command
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
- Version
- v2.1.1
- Published
- Dec 11, 2023
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 19 hours ago –
Tools for package owners.