lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Philippe Lhoste wrote:
On 01/02/2008 17:45, Petite Abeille wrote:
E.g. wrap the keys with [], change the ':' to '=', the list delimitator to {}, null to nil and that should be pretty much it.

Using LPeg, perhaps?

I've written a JSON -> Lua parser in LPeg .... wouldn't be too hard to make it spit out the representative Lua code, I'd think...

I thought I'd posted it up... but it appears that its missing. Eventually I'll get the code up @ when I find it....

You can watch and for info