[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua and JSON
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Tue, 9 Feb 2010 16:34:00 -0200
On Tue, Feb 9, 2010 at 4:17 PM, Thomas Harning Jr. <email@example.com>
My LuaJSON projects uses LPeg for parsing and the strict mode passes
all 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?