Top "Json.net" questions

Json.

Newtonsoft JSON Deserialize

My JSON is as follows: {"t":"1339886","a":true,"data":[],"Type":[['Ants','Biz','Tro']]} I found the Newtonsoft JSON.NET deserialize …

c# json.net deserialization
Deserializing JSON Object Array with Json.net

I am attempt to use an API that use the follow example structure for their returned json [ { "customer":{ "first_name":"…

c# json.net
Cannot deserialize the JSON array (e.g. [1,2,3]) into type ' ' because type requires JSON object (e.g. {"name":"value"}) to deserialize correctly

I have this JSON: [ { "Attributes": [ { "Key": "Name", "Value": { "Value": "Acc 1", "Values": [ "Acc 1" ] } }, { "Key": "Id", "Value": { "Value": "1", "Values": [ "1" ] } } ], "Name": "account", "Id": "1" }, { "…

c# arrays json serialization json.net
Send JSON via POST in C# and Receive the JSON returned?

This is my first time ever using JSON as well as System.Net and the WebRequest in any of my …

c# .net json httpwebrequest json.net
How to deserialize a JObject to .NET object

I happily use the Newtonsoft JSON library. For example, I would create a JObject from a .NET object, in this …

.net json exception serialization json.net
Parse JSON in C#

I'm trying to parse some JSON data from the Google AJAX Search API. I have this URL and I'd like …

c# asp.net json parsing json.net
How to make sure that string is valid JSON using JSON.NET

I have a raw string. I just want to validate whether the string is valid JSON or not. I'm using …

c# json.net
Can Json.NET serialize / deserialize to / from a stream?

I have heard that Json.NET is faster than DataContractJsonSerializer, and wanted to give it a try... But I couldn't …

.net serialization json.net
Parsing JSON using Json.net

I'm trying to parse some JSON using the JSon.Net library. The documentation seems a little sparse and I'm confused …

c# parsing serialization json.net
Specifying a custom DateTime format when serializing with Json.Net

I am developing an API to expose some data using ASP.NET Web API. In one of the API, the …

c# datetime asp.net-web-api json.net