Profile
Sign out
menu
create
New Post
My learned
Sign In
Format a JSON output from terminal
Terminal
Use the jq package to format a JSON string, converting:
echo '{"a":[1,2,3]}' | jq .
Into this pretty output:
{ "a": [ 1, 2, 3 ] }
arrow_back
back