Top "Json.net" questions

Json.

How can I parse JSON with C#?

I have the following code: var user = (Dictionary<string, object>)serializer.DeserializeObject(responsecontent); The input in responsecontent is …

c# json parsing json.net deserialization
Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)

I know there are a few posts about Newtonsoft so hopefully this isn't exactly a repeat...I'm trying to convert …

c# json linq json.net deserialization
How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?

I have a simple key/value list in JSON being sent back to ASP.NET via POST. Example: { "key1": "value1", "…

json asp.net-ajax asp.net-3.5 json.net
How to convert JSON to XML or XML to JSON?

I started to use Json.NET to convert a string in JSON format to object or viceversa. I am not …

c# json xml json.net
Unexpected character encountered while parsing value

Currently I have some issues. I'm using C# with Json.NET. The issue is that I always get: {"Unexpected character …

c# json visual-studio-2013 json.net
Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. Manifest definition does not match the assembly reference

Things I've tried after searching: in Web.Config put a binding on the old version: <dependentAssembly> <assemblyIdentity …

json json.net .net-assembly
Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

I am getting the Error System.IO.FileLoadException : Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30…

asp.net json.net
Deserialize json object into dynamic object using Json.net

Is it possible to return a dynamic object from a json deserialization using json.net? I would like to do …

c# .net json.net
How to ignore a property in class if null, using json.net

I am using Json.NET to serialize a class to JSON. I have the class like this: class Test1 { [JsonProperty("…

c# json.net
Deserializing JSON data to C# using JSON.NET

I'm relatively new to working with C# and JSON data and am seeking guidance. I'm using C# 3.0, with .NET3.5SP1, …

c# json json.net deserialization