Created
December 25, 2023 04:19
-
-
Save dasgoll/e80336eaa819c87dffb095a6d66836de to your computer and use it in GitHub Desktop.
use jq to escape json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '{"foo": 0}' > foo.json | |
jq @json < foo.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment