trentm/json
View on GitHub ↗ ★ 1,560 JavaScript
A "json" command for massaging JSON on your Unix command line.
8 mentions on Hacker News by 8 people: 1 story, 7 comments · first 2012-04-20 · latest 2020-03-19
20082026
-
…json, a similar npm package, a little bit better for simple tasks. You can find more about it here: https://github.com/trentm/json As a JS dev I tend to have node installed anyhow so I just use a shell alias to wrap ‘node -pe’ these days.…
comment by kylepdavis · 2020-03-19 · in Illustrated Jq Tutorial -
…example, basic manipulation is just: `echo '{"age":10}' | json -e 'this.age++' #=> {"age": 11}` 1: https://github.com/trentm/json
comment by elcritch · 2017-07-01 · in Cicada – Unix shell written in Rust -
Or this: https://github.com/trentm/json (npm install -g json).
comment by atsaloli · 2015-08-19 · in More shell, less egg (2011) -
For a similar tool written in javascript, check out json ( https://github.com/trentm/json ). I use both.
comment by yunong · 2015-04-27 · in Jq – A Command-line JSON processor -
jq looks nice, I use another similar tool quite a lot [1]. [1]: https://github.com/trentm/json
comment by jfroma · 2014-10-21 · in Hints for writing Unix tools -
request - https://github.com/mikeal/request jsontool - https://github.com/trentm/json mocha - https://github.com/visionmedia/mocha stream - http://nodejs.org/api/stream.html txn - https://github.com/iriscouch/txn follow -…
comment by cjm · 2012-05-11 · in Our favorite node.js modules -
…also makes for really simple tools for extracting whatever "traditional" log lines you like. (see: https://github.com/trentm/json ) You can also easily add new fields without breaking existing log parsing code. I believe I first read about…
comment by jclulow · 2012-05-02 · in Three things you should never put in your database -
▲ 4
A "json" command for massaging JSON on your Unix command linestory by stevewilhelm · 2012-04-20 · 0 comments