Re: [NTG-context] [util-jsn] incorrect handling of escapes

2013-07-09 Thread Philipp Gesang
···date: 2013-07-08, Monday···from: Hans Hagen··· On 7/8/2013 12:56 AM, Philipp Gesang wrote: Hi, the JSON parser handles backslash escapes improperly. Example: local data = [[ { escapes : (\)(\\)(\b)(\f)(\n)(\r)(\t), invalid : \'\v } ]] local stuff =

Re: [NTG-context] [util-jsn] incorrect handling of escapes

2013-07-08 Thread Hans Hagen
On 7/8/2013 12:56 AM, Philipp Gesang wrote: Hi, the JSON parser handles backslash escapes improperly. Example: local data = [[ { escapes : (\)(\\)(\b)(\f)(\n)(\r)(\t), invalid : \'\v } ]] local stuff = utilities.json.tolua (data) inspect(stuff) Currently

[NTG-context] [util-jsn] incorrect handling of escapes

2013-07-07 Thread Philipp Gesang
Hi, the JSON parser handles backslash escapes improperly. Example: local data = [[ { escapes : (\)(\\)(\b)(\f)(\n)(\r)(\t), invalid : \'\v } ]] local stuff = utilities.json.tolua (data) inspect(stuff) Currently it chokes on double quotes and treats the other