Comment
Comment by georgecalm
If you'd like to use something like this in your own APIs to let your clients filter requests or on the CLI (as is the intention with gron), consider giving "json-mask" a try (you'll need Node.js installed):
or (from the first gron example; the results are identical)
If you've ever used Google APIs' `fields=` query param you already know how to use json-mask; it's super simple: