-
-
Save abathur/e4f7ad5ac92820882dfe35cff52357b5 to your computer and use it in GitHub Desktop.
hmmm
This file contains 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
$ ./json.sh | |
{ | |
"just": "what the hell is going on here,", | |
"abathur": ["didn't", "we", "tell", "you", "to", "stop?"] | |
} | |
{ | |
"name": "jes", | |
"sign": "aquarius" | |
} |
This file contains 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
shopt -s expand_aliases | |
alias json="cat <(echo '{') - << " }="} " '{'="} <(echo '}')" | |
json { | |
"just": "what the hell is going on here,", | |
"abathur": ["didn't", "we", "tell", "you", "to", "stop?"] | |
} | |
name=jes | |
sign=aquarius | |
json { | |
"name": "$name", | |
"sign": "$sign" | |
} |
Author
abathur
commented
Oct 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment