bijilsandroid / as3corelib

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

NewLine in JSON #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Maybe <code>JSON.decode(rawData)</code> should allow NewLine character in
rawData? I have used some AJAX libs and all of them will allow NewLine.
Goal is to format JSON so it is human readable. Right now it can be
accomplished by replacing NewLine before decoding (<code>rawData =
StringUtil.replace(rawData, "\r", "");</code>) but it should be native part
of lib as I think.

BTW, Good work guys, You save me a lot of time :)

Original issue reported on code.google.com by smla...@gmail.com on 1 Jun 2008 at 3:39

GoogleCodeExporter commented 8 years ago
Can you post a test file that the decoder fails on?

Original comment by mikechambers on 2 Jul 2008 at 3:48

GoogleCodeExporter commented 8 years ago
This is fixed in the source code. Just link the source until we build a new SWC.

Original comment by mikechambers on 2 Jul 2008 at 4:22