Newtonsoft.Json 13.0.5-beta1

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
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
3,244
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.
1,424
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
1,306
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,251
CookieCrumble
Package Description
1,244
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,098
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,052
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,051
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,048
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,047
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,037
NJsonSchema
JSON Schema reader, generator and validator for .NET
118
NSwag.Core.Yaml
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
115
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
113
NSwag.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
112
NSwag.Generation
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
107
NSwag.Core
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
107
NJsonSchema.NewtonsoftJson
JSON Schema reader, generator and validator for .NET
106

.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 3 09/21/2026
14.0.1-beta1 3 09/21/2026
13.0.5-beta1 66 12/30/2025
13.0.4 1,419 12/10/2025
13.0.4-beta1 42 12/19/2025
13.0.3 2,634 12/10/2025
13.0.3-beta1 28 12/20/2025
13.0.2 2,031 12/14/2025
13.0.2-beta3 32 01/09/2026
13.0.2-beta2 32 12/10/2025
13.0.2-beta1 27 12/13/2025
13.0.1 3,245 12/10/2025
12.0.3 36 12/11/2025
12.0.2 40 12/11/2025
12.0.1 94 12/14/2025
11.0.2 71 12/09/2025
11.0.1 30 12/14/2025
10.0.3 43 12/14/2025
10.0.2 35 12/13/2025
10.0.1 62 12/20/2025
9.0.1 69 12/14/2025
8.0.3 43 12/12/2025
8.0.2 30 12/16/2025
8.0.1 32 12/13/2025
7.0.1 32 12/11/2025
6.0.8 35 12/11/2025
6.0.7 38 12/15/2025
6.0.6 39 12/20/2025
6.0.5 34 12/10/2025
6.0.4 32 12/20/2025
6.0.3 30 12/26/2025
6.0.2 41 12/10/2025
6.0.1 29 12/19/2025
5.0.8 38 12/11/2025
5.0.7 31 12/15/2025
5.0.6 36 12/20/2025
5.0.5 29 12/18/2025
5.0.4 28 12/12/2025
5.0.3 34 12/10/2025
5.0.2 39 12/14/2025
5.0.1 30 12/11/2025
4.5.11 32 12/19/2025
4.5.10 37 12/11/2025
4.5.9 33 12/10/2025
4.5.8 33 12/14/2025
4.5.7 30 12/13/2025
4.5.6 36 12/10/2025
4.5.5 33 12/19/2025
4.5.4 36 12/11/2025
4.5.3 32 12/20/2025
4.5.2 35 12/13/2025
4.5.1 41 12/11/2025
4.0.8 30 12/12/2025
4.0.7 32 12/20/2025
4.0.6 35 12/20/2025
4.0.5 39 12/11/2025
4.0.4 34 12/10/2025
4.0.3 32 12/20/2025
4.0.2 36 12/10/2025
4.0.1 28 12/15/2025
3.5.8 27 12/11/2025