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: Mon at 11:22 AM by colinbreame | Created: Mon 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: Sun at 3:18 PM by sibbl | Created: Sun 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

References context lost when using a custom JsonConverter.

I've created a JsonConverter for one of my objects to write and parse an added property. I've followed the example provided with the documentation for CustomJsonConverter but there seems to either...

Id #25586 | Release: None | Updated: Jul 2 at 8:23 PM by GandalfThePlaid | Created: Jul 2 at 8:23 PM by GandalfThePlaid

Add support for conditional serialization with dynamically added ShouldSerialize-prefixed predicate delegates

Json.NET Documentation specifies 'the ability to conditionally serialize properties by placing a ShouldSerialize method on a class'. However, testing with a dynamically added System.Func<bool> to S...

Id #25579 | Release: None | Updated: Jun 30 at 2:34 PM by Gorban | Created: Jun 30 at 2:34 PM by Gorban

Use System.IO.Stream async IO functions to offer async serialization and deserialization

Hello - In .NET 4.5, async I/O methods were added to System.IO.Stream. It would be awesome if JsonTextReader and JsonSerializer added support for these methods to allow for DeserializeAsync and Se...

Id #25576 | Release: None | Updated: Thu at 9:52 PM by akolomentsev | Created: Jun 27 at 8:50 PM by AndrewGaspar

WCF Add service reference and Json.net

When adding reference to a service in a web project that has the json.net package, the generated client proxy is using XmlSerializer instead of DataContractSerializer. If the json.net package is re...

Id #25564 | Release: None | Updated: Aug 15 at 7:32 PM by jlspublic | Created: Jun 18 at 3:51 PM by vjgn