Created
July 28, 2014 15:05
-
-
Save ploubser/0de908f2d5677482f1b0 to your computer and use it in GitHub Desktop.
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
psy@Moya ~/work/jjgrep $ cat the.json |jgrep | |
[ | |
{ | |
"foo": { | |
"bar": "foo-bar-1" | |
}, | |
"bar": 1, | |
"baz": [ | |
1, | |
2, | |
3, | |
4 | |
] | |
} | |
] | |
psy@Moya ~/work/jjgrep $ cat the.json |lein run "[\"=\" \"bar\" \"1\"]" | |
false | |
psy@Moya ~/work/jjgrep $ cat the.json |lein run "[\"=\" \"bar\" 1]" | |
true | |
psy@Moya ~/work/jjgrep $ cat the.json |lein run "[\"=\" \"baz\" [1 2 3 4]]" | |
true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment