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

Jonathan Pryor jonp at xamarin.com
Thu Jun 28 17:42:01 UTC 2012


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



More information about the Monodroid mailing list