Command-line tool for converting anything to JSON 🧀
MIT License
Command-line tool for converting anything to JSON.
$ npm install -g stdin2json
$ stdin2json resp.xml > resp.json
$ cat config.yaml | stdin2json > config.json
$ stdin2json deps.toml
$ ps | eat | fx .PID
Use it with fx tool for extracting needed fields.
$ cat response.xml | eat | fx .Document.Title
MIT