Newtonsoft.Json 13.0.2-beta2

Logo Json.NET

NuGet version (Newtonsoft.Json) Build status

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

Serialize JSON

Product product = new Product();
product.Name = "Apple";
product.Expiry = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };

string json = JsonConvert.SerializeObject(product);
// {
//   "Name": "Apple",
//   "Expiry": "2008-12-28T00:00:00",
//   "Sizes": [
//     "Small"
//   ]
// }

Deserialize JSON

string json = @"{
  'Name': 'Bad Boys',
  'ReleaseDate': '1995-4-7T00:00:00',
  'Genres': [
    'Action',
    'Comedy'
  ]
}";

Movie m = JsonConvert.DeserializeObject<Movie>(json);

string name = m.Name;
// Bad Boys

LINQ to JSON

JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));

JObject o = new JObject();
o["MyArray"] = array;

string json = o.ToString();
// {
//   "MyArray": [
//     "Manual text",
//     "2000-05-23T00:00:00"
//   ]
// }

Showing the top 20 packages that depend on Newtonsoft.Json.

Packages Downloads
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
2,053
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,976
CookieCrumble
Package Description
1,967
Microsoft.CodeAnalysis.Workspaces.MSBuild
.NET Compiler Platform ("Roslyn") support for analyzing MSBuild projects and solutions. This should be used with at least one of the following packages to add the appropriate language support: - Microsoft.CodeAnalysis.CSharp.Workspaces - Microsoft.CodeAnalysis.VisualBasic.Workspaces More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
759
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
715
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
219
NJsonSchema
JSON Schema reader, generator and validator for .NET
187
NJsonSchema.NewtonsoftJson
JSON Schema reader, generator and validator for .NET
186
NSwag.Core.Yaml
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
185
NSwag.Generation
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
181
NSwag.Core
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
179
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
174
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
159
NSwag.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
139
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/dotnet/tree/e2f47b0110ed922f21a1522da67279133ce28f32
133
Microsoft.AspNetCore.Mvc.NewtonsoftJson
ASP.NET Core MVC features that use Newtonsoft.Json. Includes input and output formatters for JSON and JSON PATCH. This package was built from the source code at https://github.com/dotnet/dotnet/tree/e2f47b0110ed922f21a1522da67279133ce28f32
131
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
114
NSwag.Generation
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
104
NJsonSchema.NewtonsoftJson
JSON Schema reader, generator and validator for .NET
102
Selenium.WebDriver
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the newer, more concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.
94

.NET Framework 2.0

  • No dependencies.

.NET Framework 3.5

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Standard 1.0

.NET Standard 1.3

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
14.0.1-beta2 28 09/21/2026
14.0.1-beta1 17 09/21/2026
13.0.5-beta1 77 12/30/2025
13.0.4 826 09/28/2026
13.0.4-beta1 50 12/19/2025
13.0.3 938 09/28/2026
13.0.3-beta1 40 12/20/2025
13.0.2 2,749 12/14/2025
13.0.2-beta3 38 01/09/2026
13.0.2-beta2 5 10/18/2026
13.0.2-beta1 34 12/13/2025
13.0.1 765 09/28/2026
12.0.3 61 12/11/2025
12.0.2 58 12/11/2025
12.0.1 182 12/14/2025
11.0.2 40 09/29/2026
11.0.1 38 12/14/2025
10.0.3 57 12/14/2025
10.0.2 47 12/13/2025
10.0.1 75 12/20/2025
9.0.1 105 12/14/2025
8.0.3 50 12/12/2025
8.0.2 44 12/16/2025
8.0.1 38 12/13/2025
7.0.1 39 12/11/2025
6.0.8 50 12/11/2025
6.0.7 49 12/15/2025
6.0.6 46 12/20/2025
6.0.5 6 09/29/2026
6.0.4 41 12/20/2025
6.0.3 38 12/26/2025
6.0.2 5 09/28/2026
6.0.1 35 12/19/2025
5.0.8 43 12/11/2025
5.0.7 37 12/15/2025
5.0.6 43 12/20/2025
5.0.5 38 12/18/2025
5.0.4 37 12/12/2025
5.0.3 7 09/28/2026
5.0.2 45 12/14/2025
5.0.1 36 12/11/2025
4.5.11 45 12/19/2025
4.5.10 42 12/11/2025
4.5.9 8 09/28/2026
4.5.8 41 12/14/2025
4.5.7 37 12/13/2025
4.5.6 6 09/28/2026
4.5.5 39 12/19/2025
4.5.4 48 12/11/2025
4.5.3 39 12/20/2025
4.5.2 45 12/13/2025
4.5.1 51 12/11/2025
4.0.8 37 12/12/2025
4.0.7 39 12/20/2025
4.0.6 47 12/20/2025
4.0.5 46 12/11/2025
4.0.4 10 09/28/2026
4.0.3 46 12/20/2025
4.0.2 5 09/28/2026
4.0.1 35 12/15/2025
3.5.8 34 12/11/2025