《강북오피》 《bamWar .cOm》 〔역삼휴게텔〕 《수원오피》

《강북오피》 《bamWar .cOm》 〔역삼휴게텔〕 《수원오피》 《강북오피》 《bamWar .cOm》 〔역삼휴게텔〕 《수원오피》 《강북오피》 《bamWar .cOm》 〔역삼휴게텔〕 《수원오피》 《강북오피》 《bamWar .cOm》 〔역삼휴게텔〕 《수원오피》 《강북오피》 《bamWar .cO...

Id #26009 | Release: None | Updated: Feb 27 at 9:06 AM by lovemaka5214 | Created: Feb 27 at 9:06 AM by lovemaka5214

Deserialization fails for arrays with TypeNames.

Eg: void Main() { string data = File.ReadAllText(@"SomeFile.txt"); var jsonSettings = new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHa...

Id #25989 | Release: None | Updated: Feb 17 at 9:51 AM by prasannavl | Created: Feb 17 at 9:51 AM by prasannavl

JsonConverter and References

I expected that types converted via JsonConverter could benefit from the settings: PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects Problem 1. Unfortunately this wor...

Id #25983 | Release: None | Updated: Feb 13 at 4:19 PM by raffaeler | Created: Feb 13 at 4:19 PM by raffaeler

Serializer to JSON truncates type name

Newtonsoft.JSON 6.0.8 I'm serializing objects with such a code: using (FileStream fs = File.Open(jsonFilePath, FileMode.Create, FileAccess.Write, FileShare.ReadWrite)) ...

Id #25976 | Release: None | Updated: Feb 10 at 11:11 AM by Hlodvig | Created: Feb 10 at 11:07 AM by Hlodvig

Deserializing JSON string to DataTable put values on new rows

When I'm trying to do Dim tempDataTable As DataTable = JsonConvert.DeserializeObject(Of DataTable)(jsonString), every value in the DataTable object gets put on a row (see the picture). Is this int...

Id #25972 | Release: None | Updated: Feb 9 at 12:38 PM by andrieus | Created: Feb 9 at 12:38 PM by andrieus

Serialize method never returns until Task is complete for tasks.

var tx = new TaskCompletionSource<bool>(); JsonConvert.SerializeObject(tx).Dump(); The SerializeObject never returns in this case. And the whole program is stuck until "tx" actually completes. Whi...

Id #25971 | Release: None | Updated: Feb 9 at 12:45 PM by prasannavl | Created: Feb 9 at 12:38 PM by prasannavl

Incorrect libraries installed from NuGet package for PCL

I got problems with the latest version 6.0.8 on Windows 8.1 and Windows Phone 8.1, when using JSON.NET as NuGet package in a PCL library targeting Windows 8.1 and Windows Phone 8.1. The assembly be...

Id #25941 | Release: None | Updated: Jan 23 at 9:30 AM by Will_o_Wisp | Created: Jan 23 at 9:29 AM by Will_o_Wisp

SerializeXmlNode() modifies content if quote is present?

SerializeXmlNode() incorrectly converts the XML content with quotes. It does two modifications: 1) existing quotes are escaped to ' \" ' (slash + quote). 2) the whole resulting string is wrapped in...

Id #25936 | Release: None | Updated: Jan 21 at 6:51 PM by avprokofyev | Created: Jan 21 at 4:00 PM by alaudo

How to handle long integers in DeserializeXmlNode()?

We are getting an InvalidCastException when we try to deserialize the following JSON with long integer number: var json = "{ \"DocumentId\" : 13779965364495889899 }"; JsonConvert.DeserializeXmlNo...

Id #25932 | Release: None | Updated: Jan 21 at 6:51 PM by avprokofyev | Created: Jan 21 at 12:46 AM by alaudo

Medium trust support is broken after 6.0.3

When I replace v6.0.3 of Newtonsoft.Json.dll with a newer version (also checked latest v6.0.8) in a working project, the same code bombs out under partial trust. Here is an example stack trace: [Se...

Id #25931 | Release: None | Updated: Feb 10 at 12:12 PM by niteshluharuka | Created: Jan 20 at 12:19 PM by gtdev