P
Peter Judge
Guest
I should point out that it is possible to do something along the lines of def var jsonData as JsonConstruct. jsonData = (new ObjectModelParser())
arse( " [~"data~"] " ). Not as pretty but it works. I'd be tempted to make the Parse() methods static since it cleans the calling syntax up a bit, and the built-in ObjectModelParser has no context for each Parse*() call. I'd also note that things like "null" , 12345 and "hello greg" are valid JSON (though not yet supported by our parser.
Continue reading...
Continue reading...