$ jsonrepl ./myfile.jsonjson> show{“k1” : “val1”,“k2” : true,“k3” : { “k31” : “val31”, “k32” : “val32” }}json> cd “k3”json> show{“k31” : “val31”,“k32” : “val32”}json> set k31 = val31newjson> cd ..json> print k1.k31“val31new”
--
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 nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
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.
I usually use node's repl to explore json:> obj = require("./myfile")> obj["k3"]> obj["k3"] = "foo"etc...