Command-line tool for converting anything to JSON.
- Eat everything, spits out json
- Supports json, yaml, toml, xml, ini, cli tables
- Formatting and highlighting
- Standalone binary
$ npm install -g @medv/eat
Or download standalone binary from releases page.
$ eat resp.xml > resp.json
$ cat config.yaml | eat > config.json
$ eat deps.toml
$ ps | eat | fx .PID
Use it with fx tool for extracting needed fields.
$ cat response.xml | eat | fx .Document.Title
MIT