Anyone know if there exists a tool that provides a REPL-like interface (i.e., 
interactive CLI) to JSON? Something using which I can do:

$ jsonrepl ./myfile.json
json> show
{
    "k1" : "val1",
    "k2" : true,
    "k3" : { "k31" : "val31", "k32" : "val32" }
}
json> cd "k3"
json> show
{
    "k31" : "val31",
    "k32" : "val32"
}
json> set k31 = val31new
json> cd ..
json> print k1.k31
"val31new"

... etc ...

I want to check before I write one.

        --ravi


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1F244BC8-1416-4219-9E1E-1FBE9F4498E6%40g8o.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to