json
json copied to clipboard
wildcart key filters
How about supporting nested lookups
{
obj: {
one: { value: 1 },
two: { value: 2 }
}
}
with wildcard keys
cat data.json | json obj.*.value
to give
1
2
I like the look of that. I haven't thought about potential implications of it, how to implement it, etc. I won't have the time to look at this anytime soon.