Re:Jshon: A command line program to parse, read and create JSON
by VMG on Friday February 18, 2011 @06:26AM
(#2235054)
Great tool, was thinking about writing something like that myself. I especially wanted a tool that would print the value of a specific key to STDOUT with a syntax like
Maybe your tool does that but I missed it
[ Parent
| on HN ]
Re:Jshon: A command line program to parse, read and create JSON
by keenerd on Friday February 18, 2011 @08:28AM
(#2235296)
Glad you like it. I'll be adding a path-like syntax next. This was just a little one-day hackup to learn getopts.
You can do similar with -e a -e b -e c. Or just make your own wrapper with
jshon $(echo ".a.b.c" | sed 's/./ -e/g')