9 Feb 19:34
Re: Lua and JSON
Fabio Mascarenhas <mascarenhas <at> acm.org>
2010-02-09 18:34:00 GMT
2010-02-09 18:34:00 GMT
On Tue, Feb 9, 2010 at 4:17 PM, Thomas Harning Jr. <harningt <at> gmail.com> wrote:
My LuaJSON projects uses LPeg for parsing and the strict mode passesall tests provided by the JSON validator project from JSON.org The
non-strict mode permits some more loose handling of constructs.
+1 for Thomas' module, it works great. Thomas, have you thought about having json.encode honor a "__tojson" metamethod (along with a rawencode function), so it is easier to extend the encoder to understand app-specific data types?
--
Fabio Mascarenhas
RSS Feed