null value deserialization issue

In deserialization the DefaultValueHandling.Populate hasn't any affect when used with the NullValueHandling.Ignore. class Program { static void Main(string[] args) { var test = Json...

Id #25864 | Release: None | Updated: Dec 9 at 4:44 PM by hakobyan_hh | Created: Dec 9 at 4:44 PM by hakobyan_hh

[JValue] Reference to type 'System.IConvertible' not found

There seems to be some compile-time warning when using JValue in Windows Phone 8.1 application (Windows Store) in Visual Studio 2013. Whenever using the constructor of JValue, I get warning: "Warn...

Id #25853 | Release: None | Updated: Dec 4 at 2:27 PM by kamenlitchev | Created: Dec 4 at 2:24 PM by kamenlitchev

ReadOnly object property not deserialized

I have an object with a ReadOnly property of complex object type. Its object is fully decorated for Newtonsoft serialization, and serialization works fine. On deserialization, I expect the values o...

Id #25847 | Release: None | Updated: Dec 2 at 7:21 PM by androticus | Created: Dec 2 at 7:21 PM by androticus

JArray.Values<UInt64> doesn't work with values larger than an Int32

foreach(UInt64 value in JArray.Parse("[ 18446744073709551615]").Values<UInt64>()) { Console.WriteLine(value); } Object must implement IConvertible. mscorlib.dll!System.Convert.ChangeType(object va...

Id #25836 | Release: None | Updated: Nov 25 at 11:52 PM by jpribele | Created: Nov 25 at 11:52 PM by jpribele

Deserialization of invalid date error does not include position information when using IsoDateTimeConverter

If a date is read with an invalid format, the error message does not include any information about the position of the error. Using this model: class TestModel { [Newtonsoft.Json.JsonConverter...

Id #25829 | Release: None | Updated: Nov 17 at 11:22 AM by colinbreame | Created: Nov 17 at 11:22 AM by colinbreame

JsonConvert.DeserializeXNode not available for WP8.1 anymore?

I updated Json.Net from 6.0.3 to 6.0.6 today and found that JsonConvert.DeserializeXNode is not available for WP8.1 anymore, but is still working in my WinRT background task and Windows app. Do I ...

Id #25828 | Release: None | Updated: Nov 16 at 3:18 PM by sibbl | Created: Nov 16 at 3:18 PM by sibbl

Newtonsoft.Json.PreserveReferencesHandling.None not being applied

In my Web API config I have the following set: jsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.None; But I still get $id/$ref output when s...

Id #25741 | Release: None | Updated: Sep 22 at 3:59 PM by ledzeppln | Created: Sep 22 at 3:59 PM by ledzeppln

Allow setting of $id property for PreserveReferencesHandling

We use guids for our EF ids, it would be great to be able to specify that a particular property could be used as the $id property for purposes of PreserveReferencesHandling

Id #25698 | Release: None | Updated: Oct 18 at 11:35 PM by JamesNK | Created: Aug 28 at 3:34 AM by eggers

Cannot install in Windows Phone 7 project

Cannot install in Windows Phone 7 project. While installing with PM> Install-Package Newtonsoft.Json Visual Studio returns an error: Install failed. Rolling back... Install-Package : Could not ...

Id #25679 | Release: None | Updated: Aug 20 at 8:00 AM by giacoder | Created: Aug 20 at 8:00 AM by giacoder

Deserialization of large JSON returns tokens with missing/truncated items

I have been using JSON.NET for a long time but now I have run accross an unexpected issue. I am trying to deserialize a really long json string which is an array of objects; I am parsing as JToke...

Id #25678 | Release: None | Updated: Aug 19 at 7:03 PM by allanx2000 | Created: Aug 19 at 7:03 PM by allanx2000