How to use the one command to copy JSON prettify JSON.
echo '{"test1": 1, "test2": true}' | json_pp
=> To show the result.echo '{"test1": 1, "test2": true}' | json_pp | pbcopy
=> To copy into paste note
How to use the one command to copy JSON prettify JSON.
echo '{"test1": 1, "test2": true}' | json_pp
=> To show the result.echo '{"test1": 1, "test2": true}' | json_pp | pbcopy
=> To copy into paste note