Quantcast
Channel: Json.NET
Browsing all 1767 articles
Browse latest View live
↧

Commented Issue: 'Newtonsoft.Json 4.5.11' can't be added on a Windows Phone 8...

Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.11)'.'Newtonsoft.Json 4.5.11' already installed.'Microsoft.AspNet.SignalR.Client 1.0.1' already installed. Could not install package...

View Article


New Post: 4.5.11 to 5.0.3 Breaking Changes?

The release notes against each download. Note that the JSON schema stuff will tend to change. The JSON schema spec hasn't been finalized and is continually changing.

View Article


Commented Issue: Dictionnary Deserialization Bug with TypeNameHandling [23589]

Using TypeNameHandling in ObjectReding need $type in first property in the json object to read the dictionnaryThis does not work :"Positions": {"Big": {"$type":...

View Article

Commented Issue: Dictionnary Deserialization Bug with TypeNameHandling [23589]

Using TypeNameHandling in ObjectReding need $type in first property in the json object to read the dictionnaryThis does not work :"Positions": {"Big": {"$type":...

View Article

New Post: Json format keyvalues only

Hello How to get the following format using JSON.NET? {"123": "CustomerA","345":"CustomerB","789":"CustomerC" } Currently when I Serialize my object I get the data in the following format [ { Name:...

View Article


Created Issue: Issue serializing enums when the enum value is 0. [24204]

This issue occurs in version Newtonsoft.Json.4.5.11 and not in Newtonsoft.Json.4.5.81) Create an enum like this - public enum Status{ Ok, Warning, Error,}2) Use it in a class like below - public class...

View Article

Closed Issue: Inconsistent handling of XmlQualifiedName [24190]

Using the latest prerelease version 5.0.3, If I serialize an XmlQualified name like this:```var json = JsonConvert.SerializeObject(new XmlQualifiedName("Foo", "urn:foo"));```Produces the following...

View Article

Commented Issue: Issue serializing enums when the enum value is 0. [24204]

This issue occurs in version Newtonsoft.Json.4.5.11 and not in Newtonsoft.Json.4.5.81) Create an enum like this - public enum Status{ Ok, Warning, Error,}2) Use it in a class like below - public class...

View Article


Closed Issue: Issue serializing enums when the enum value is 0. [24204]

This issue occurs in version Newtonsoft.Json.4.5.11 and not in Newtonsoft.Json.4.5.81) Create an enum like this - public enum Status{ Ok, Warning, Error,}2) Use it in a class like below - public class...

View Article


Closed Issue: Add support for ISupportInitialize interface [21269]

So that deserialization calls BeginInit right after constructing the object and before deserializing properties, and EndInit when it's done. This would allow validation for example of the deserialized...

View Article

Released: Json.NET 5.0 Release 4 (Apr 25, 2013)

New feature - Added JsonWriter.SetWriteState to support inheritance from JsonWriter implementationsChange - Changed .NET 4.5 portable library and WinRT library to use compiled expressions reflection

View Article

Created Release: Json.NET 5.0 Release 4 (Apr 25, 2013)

New feature - Added JsonWriter.SetWriteState to support inheritance from JsonWriter implementationsChange - Changed .NET 4.5 portable library and WinRT library to use compiled expressions reflection

View Article

Created Issue: JSON Schema Parser Fails [24208]

The JSON parser (V5.04) cannot handle this JSON (as run in Linqpad):```string data = @"{""payment_methods"":""Amex, Cash, Check, Discover, Mastercard,...

View Article


Created Issue: DefaultValueHandling.IgnoreAndPopulate sets null to the...

I found if the json node is provided with the default value in the json string, when in deserialization, the corresponding property will be set to null. Please refer to the following code, public class...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Json.NETJson.NET is a popular high-performance JSON framework for .NETFeaturesFlexible JSON serializer for converting between .NET objects and JSON LINQ to JSON for manually reading and writing JSON...

View Article


Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Json.NETJson.NET is a popular high-performance JSON framework for .NETFeaturesFlexible JSON serializer for converting between .NET objects and JSON LINQ to JSON for manually reading and writing JSON...

View Article

Created Issue: Exception while deserializing DateTime in version 5 [24215]

We used Json.NET 4 to serialize Dictionary<DateTime, string> and save it to database.Now we updated NuGet package to the version 5 and now the software throws an exception:```// from databasevar...

View Article


Commented Issue: Exception while deserializing DateTime in version 5 [24215]

We used Json.NET 4 to serialize Dictionary<DateTime, string> and save it to database.Now we updated NuGet package to the version 5 and the software throws an exception:```// from databasevar...

View Article

Closed Issue: DefaultValueHandling.IgnoreAndPopulate sets null to the...

I found if the json node is provided with the default value in the json string, when in deserialization, the corresponding property will be set to null. Please refer to the following code, public class...

View Article

Closed Issue: Data loss when serializing a large decimal [24183]

Hi,I am trying to serialize a list of objects, which contains decimals some times. When I serialize it using BSON it usually works. In some cases, in particular when serializing large decimal values,...

View Article
Browsing all 1767 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>