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
2,053
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,079
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,038
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,037
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,035
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,033
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,031
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,029
CookieCrumble
Package Description
847
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.
419
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
412
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
399
CookieCrumble
Package Description
396
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
73
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
71
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
70
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
68
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
67

.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
13.0.5-beta1 48 12/30/2025
13.0.4 420 12/10/2025
13.0.4-beta1 35 12/19/2025
13.0.3 1,626 12/10/2025
13.0.3-beta1 22 12/20/2025
13.0.2 1,195 12/14/2025
13.0.2-beta3 24 01/09/2026
13.0.2-beta2 27 12/10/2025
13.0.2-beta1 23 12/13/2025
13.0.1 2,047 12/10/2025
12.0.3 26 12/11/2025
12.0.2 26 12/11/2025
12.0.1 24 12/14/2025
11.0.2 39 12/09/2025
11.0.1 25 12/14/2025
10.0.3 31 12/14/2025
10.0.2 27 12/13/2025
10.0.1 28 12/20/2025
9.0.1 37 12/14/2025
8.0.3 34 12/12/2025
8.0.2 23 12/16/2025
8.0.1 28 12/13/2025
7.0.1 26 12/11/2025
6.0.8 28 12/11/2025
6.0.7 30 12/15/2025
6.0.6 29 12/20/2025
6.0.5 27 12/10/2025
6.0.4 28 12/20/2025
6.0.3 24 12/26/2025
6.0.2 30 12/10/2025
6.0.1 26 12/19/2025
5.0.8 31 12/11/2025
5.0.7 29 12/15/2025
5.0.6 26 12/20/2025
5.0.5 25 12/18/2025
5.0.4 23 12/12/2025
5.0.3 27 12/10/2025
5.0.2 32 12/14/2025
5.0.1 25 12/11/2025
4.5.11 24 12/19/2025
4.5.10 27 12/11/2025
4.5.9 26 12/10/2025
4.5.8 26 12/14/2025
4.5.7 25 12/13/2025
4.5.6 30 12/10/2025
4.5.5 26 12/19/2025
4.5.4 31 12/11/2025
4.5.3 27 12/20/2025
4.5.2 30 12/13/2025
4.5.1 32 12/11/2025
4.0.8 26 12/12/2025
4.0.7 25 12/20/2025
4.0.6 28 12/20/2025
4.0.5 32 12/11/2025
4.0.4 26 12/10/2025
4.0.3 23 12/20/2025
4.0.2 28 12/10/2025
4.0.1 23 12/15/2025
3.5.8 19 12/11/2025