1.0.1 • Published 9 years ago

jsonput v1.0.1

Weekly downloads
2
License
BSD-2
Repository
github
Last release
9 years ago

jsonput

Put json key/value pairs into a file or json stream from the command line

install

npm install -g jsonput

example

$ cat test.json
{"hello": "world"}
$ jsonput test.json hello:mars
$ cat test.json
{"hello":"mars"}
$ cat test.json | jsonput - hello:verden > test.json
$ cat test.json
{"hello" "verden"}

todo

$ jsonput test.json hello:{places:[mars,world]}