How do I read a JSON file in Shell?

Man Ly

New member
How do I read a JSON file in Shell?
Answer
Parse And Pretty Print JSON With Linux Commandline Tools
  1. jq or jshon, JSON parser for shell, both of them are quite useful.
  2. Shell scripts like JSON.sh or jsonv.sh to parse JSON in bash, zsh or dash shell.
  3. JSON. awk, JSON parser awk script.
  4. Python modules like json. tool.
  5. underscore-cli, Node. js and javascript based.
 

Tìm kiếm

Back
Top