#install jq to read/process json file, and run the following jq . filename.json #filter complex json file with jq and grep jq . filename.json | grep "text_string"