[mono-android] JsonObject.ToString() not escaping new lines.

Sayed Arian Kooshesh kooshesh at gmail.com
Thu Jun 28 23:20:22 UTC 2012


IF not system.enviroment.newline, isn't it '\n'  because it's a character?

On Thu, Jun 28, 2012 at 12:42 PM, Jonathan Pryor <jonp at xamarin.com> wrote:

> On Jun 27, 2012, at 5:45 PM, Terry151151 wrote:
> > When I generate the Json string using JsonObject.ToString(). Ie:
> >
> > string JsonString = JObject.ToString();
> >
> > When the string is generated the new lines are just passed straight
> through without being escaped, causing the receiving end to generate an
> error.
> >
> > Does anybody know why this is happening?
>
> I would guess it's a System.Json bug. Could you please file a bug report?
>
> Thanks,
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120628/05d0af47/attachment.html>


More information about the Monodroid mailing list