-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
When using https://www.reddit.com/r/linux.json to search for gid_1:
$ curl -O https://www.reddit.com/r/linux.json
$ ./ju find --key gid_1 --index linux.json
.data.children[0].data.gildings.gid_1
.data.children[1].data.gildings.gid_1
.data.children[2].data.gildings.gid_1
.data.children[3].data.gildings.gid_1
.data.children[4].data.gildings.gid_1
.data.children[5].data.gildings.gid_1
.data.children[6].data.gildings.gid_1
.data.children[7].data.crosspost_parent_list[0].gildings.gid_1
.data.children[7].data.gildings.gid_1
.data.children[8].data.gildings.gid_1
.data.children[9].data.gildings.gid_1
.data.children[10].data.gildings.gid_1
.data.children[11].data.gildings.gid_1
.data.children[12].data.gildings.gid_1
.data.children[13].data.gildings.gid_1
.data.children[14].data.gildings.gid_1
.data.children[15].data.gildings.gid_1
.data.children[16].data.gildings.gid_1
.data.children[17].data.gildings.gid_1
.data.children[18].data.gildings.gid_1
.data.children[19].data.gildings.gid_1
.data.children[19].data.crosspost_parent_list[0].gildings.gid_1
.data.children[20].data.gildings.gid_1
.data.children[21].data.gildings.gid_1
.data.children[22].data.gildings.gid_1
.data.children[23].data.gildings.gid_1
.data.children[24].data.gildings.gid_1
It would be nice to know the value, otherwise you have to use jq:
$ ./ju find --key gid_1 --index linux.json | xargs -I % jq % linux.json
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers