|
Philippe Lhoste wrote:
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...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 thought I'd posted it up... but it appears that its missing. Eventually I'll get the code up @ http://repo.or.cz/w/luajson.git when I find it....
You can watch http://www.eharning.us/wiki/projects and http://www.eharning.us/wiki/luajson/ for info