Json.NET is a popular high-performance JSON framework for .NET

# Benefits and Features

- Flexible JSON serializer for converting between .NET objects and JSON

- LINQ to JSON for manually reading and writing JSON

- High performance, faster than .NET's built-in JSON serializers

- Write indented, easy to read JSON

- Convert JSON to and from XML

- Supports .NET 2, .NET 3.5, .NET 4, .NET 4.5, Silverlight, Windows Phone and Windows 8 RT

The JSON serializer in Json.NET is a good choice when the JSON you are reading or writing maps closely to a .NET class.

LINQ to JSON is good for situations where you are only interested in getting values from JSON, you don't have a class to serialize or deserialize to, or the JSON is radically different from your class and you need to manually read and write from your objects.

# Getting Started

- Serializing and Deserializing JSON SerializingJSON.htm _self

- LINQ to JSON LINQtoJSON.htm _self

# History

Json.NET grew out of projects I was working on in late 2005 involving JavaScript, AJAX and .NET. At the time there were no libraries for working with JavaScript in .NET so I made my own.

Starting out as a couple of static methods for escaping JavaScript strings, Json.NET evolved as features were added. To add support for reading JSON a major refactor was required and Json.NET will split into the three major classes it still uses today, JsonReader, JsonWriter and JsonSerializer.

Json.NET was first released in June 2006. Since then Json.NET has been downloaded hundreds of thousands of times by developers around the world. It is used in many major open source projects including Mono http://www.mono-project.com/ _blank , an open source implementation of the .NET framework; RavenDB http://ravendb.net/ _blank , a JSON based documentat database; SignalR http://signalr.net/ _blank , an async library for building real-time, multi-user interactive web applications; and ASP.NET Web API http://www.asp.net/web-api _blank , Microsoft's HTTP service framework.

James Newton-King http://twitter.com/jamesnk _blank

# Donate

Json.NET is a free open source project developed in my own time.

I really appreciate your feedback and donations help support Json.NET and its future development.

Serializing and Deserializing JSON
SerializingJSON.htm
_self
LINQ to JSON
LINQtoJSON.htm
_self