Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nullcipher
· 10y ago · 0 comments
I really wish curl had a --pretty-json option.
Comments
[–]
JesseAldridge
10y ago
curl "
http://foo.com/some_json_endpoint"
-H 'Accept: application/json' | python -m json.tool
[–]
rkowalick
10y ago
curl | json_pp
[–]
ak217
10y ago
curl | jq .
[–]
pandler
10y ago
I use:
curl | python -m json.tool