kahntang / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

JSON doesn't decode with new lines #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a JSON String with new lines after commas and after braces
2. Try to decode it

What is the expected output? What do you see instead?
Error.

What version of the product are you using? On what operating system?
SVN - trunk

Original issue reported on code.google.com by jlward...@gmail.com on 11 Jan 2007 at 5:25

GoogleCodeExporter commented 9 years ago
This has already been fixed in the latest from SVN.  If you can still reproduce,
please let me know what your JSON string looks like.

Original comment by darron.schall on 14 Jan 2007 at 12:57

GoogleCodeExporter commented 9 years ago
A test for this was posted on the mailing list -- 

http://groups.google.com/group/as3corelib/browse_thread/thread/55ad5b8aad551b6a/
e68944f72f3db151?lnk=gst&q=%5Cr&rnum=1#e68944f72f3db151

The character code CR(0x0D, '\r') should be considered as white space as well. 

Original comment by darron.schall on 27 May 2007 at 10:53

GoogleCodeExporter commented 9 years ago
This was fixed in revision 38 ('\r' was added as a whitespace char).

Original comment by darron.schall on 27 May 2007 at 11:13

GoogleCodeExporter commented 9 years ago
Issue 95 has been merged into this issue.

Original comment by darron.schall on 3 Aug 2009 at 12:36