json icon indicating copy to clipboard operation
json copied to clipboard

wildcart key filters

Open torgeir opened this issue 10 years ago • 1 comments

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

torgeir avatar Mar 08 '14 18:03 torgeir

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.

trentm avatar Sep 16 '14 05:09 trentm