mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-16 02:40:08 +00:00
15 lines
338 B
Markdown
15 lines
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
|