Quote:
Originally Posted by silver18
In the meanwhile: does anybody know a JSON parser to be used in shell scripting?
Thanks!!
|
Would you like that written in javascript, that can parse json (a sub-set of javascript) and generate an arbitrary parser (also in javascript)?
I have that link, somewhere, if I haven't mis-placed it.
Found it:
http://pegjs.majda.cz/
And the on-line version:
http://pegjs.majda.cz/online
Just enter the declaration of the parser you want (PEG is very much like EBNF) and that web page will crank out the parser you declared, in js.
PS: Tizen apps are coded in Javascript, not Java. So if you ever need something parsed in your Javascript app (WAF or Tizen) then bookmark the site above.
PPS: Also a thought to keep in mind for anyone thinking of winning that $200,000 prize for the next "killer" Tizen game.
https://developer.tizen.org/contests...-app-challenge