Top "Json.net" questions

Json.

Compare JSON and BSON

I am comparing JSON and BSON for serializing objects. These objects contain several arrays of a large number of integers. …

javascript .net json json.net bson
How do I deserialize a JSON array and ignore the root node?

I have next response from server - {"response":[{"uid":174952xxxx,"first_name":"xxxx","last_name":"xxx"}]} I am trying to …

c# json json.net deserialization
Configure JSON.NET to ignore DataContract/DataMember attributes

We are running into a situation on an MVC3 project with both the Microsoft JSON serializers and JSON.NET. Everybody …

c# json json.net datacontract datamember
multiple JsonProperty Name assigned to single property

I have two format of JSON which I want to Deserialize to one class. I know we can't apply two […

c# json json.net deserialization
Newtonsoft JSON - How to use the JsonConverter.ReadJson method to convert types when deserializing JSON

I need help understanding how to use the the JsonConverter.ReadJson method to convert a value of any number of …

c# json.net json-deserialization
send post Https request with Content Type application Json on C#

I'm trying to send the following request: POST /messaging/registrations/(REGISTRATION_ID_FOR_DESTINATION_APP_INSTANCE)/messages HTTP/1.1 Host: api.…

c# asp.net httpclient json.net amazon-device-messaging
Deserialize json character as enumeration

I have an enumeration defined with C#, where I'm storing it's values as characters, like this: public enum CardType { Artist = …

c# json json.net enumeration json-deserialization
Could not load file or assembly "Newtonsoft.Json.Net" (Exception from HRESULT: 0x80131040)

When we installed a previous version the Neo4jClient via nuget we saw that Newtonsoft.Json version 4.5.0.0 was installed as …

c# json.net neo4jclient
Accessed JArray values with invalid key value: "fields". Array position index expected

I am using the guardian API to try and retrieve stories but keep receiving an exception. The string of json …

c# json linq windows-phone json.net
How can I add a custom root node when serializing an object with JSON.NET?

I have added a custom property to some of my objects like this: [JsonCustomRoot("status")] public class StatusDTO { public int …

c# json serialization json.net custom-attributes