JQ - JSON Command Line Tool

Meet jq . http://stedolan.github.io/jq/ .

A simple command line tool to process JSON file.

$ echo {} > test.json
$ jq ".name = "Mike"" test.json

output :

{
 "name": "Mike"
}

comments powered by Disqus