mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
15 lines
No EOL
338 B
Markdown
15 lines
No EOL
338 B
Markdown
# jsontools
|
|
|
|
A handy command line tool for dealing with json data.
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
# curl json data and pretty print the results
|
|
curl https://coderwall.com/bobwilliams.json | pp_json
|
|
|
|
# pretty print the contents of an existing json file
|
|
less data.json | pp_json
|
|
|
|
# json data directly from the command line
|
|
echo '{"b":2, "a":1}' | pp_json |