Top "Json.net" questions

Json.

Json.net serialize/deserialize derived types?

json.net (newtonsoft) I am looking through the documentation but I can't find anything on this or the best way …

c# json serialization json.net
json.net has key method?

If my response has key "error" I need to process error and show warning box. Is there "haskey" method exists …

c# json json.net
How to set custom JsonSerializerSettings for Json.NET in MVC 4 Web API?

I understand that ASP.NET Web API natively uses Json.NET for (de)serializing objects, but is there a way …

c# asp.net-web-api json.net
How to Deserialize JSON data?

I am new to working with JSON data. I am reading data from a web service. The query data sent …

c# json windows-phone-8 json.net json-deserialization
Using Json.NET converters to deserialize properties

I have a class definition that contains a property that returns an interface. public class Foo { public int Number { get; …

.net serialization json.net
Newtonsoft ignore attributes?

I am currently using the same C# DTOs to pull data out of CouchDB, via LoveSeat which I am going …

c# asp.net-mvc couchdb json.net
Web API 2: how to return JSON with camelCased property names, on objects and their sub-objects

UPDATE Thanks for all the answers. I am on a new project and it looks like I've finally got to …

c# .net asp.net-web-api json.net asp.net-web-api2
How to handle null/empty values in JsonConvert.DeserializeObject

I have the following code: return (DataTable)JsonConvert.DeserializeObject(_data, (typeof(DataTable))); Then, I tried: var jsonSettings = new JsonSerializerSettings { NullValueHandling = …

c# json json.net
Convert JObject into Dictionary<string, object>. Is it possible?

I have a web API method that accepts an arbitrary json payload into a JObject property. As such I don't …

c# .net json json.net
Self referencing loop detected - Getting back data from WebApi to the browser

I am using Entity Framework and having a problem with getting parent and child data to the browser. Here are …

c# entity-framework serialization asp.net-web-api json.net