gron

Make JSON greppable by converting it into a stream of path-value pairs

brewmacoslinux
Try with needOr install directly
Source

About

Make JSON greppable

Commands

gron

Examples

Convert JSON file to greppable format$ gron package.json
Search for specific keys in JSON output$ gron data.json | grep 'email'
Convert JSON from URL and filter results$ gron https://api.example.com/data | grep 'name'