Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

terminal read json file

#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"
Source by linuxconfig.org #
 
PREVIOUS NEXT
Tagged: #terminal #read #json #file
ADD COMMENT
Topic
Name
2+7 =