jse allows for filtering and transforming of json streams. It is mainly designed for mining information out of json log files.
Use the jse
command
jse field1:value field2:'another value' file.txt
jse field:/^pattern.+$/ file.txt
jse message:/Error/ -f message log.txt
gem install jse