Newtonsoft.Json 13.0.2-beta3

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
1,605
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
1,027
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
983
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
981
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
980
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
977
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
976
CookieCrumble
Package Description
797
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.
115
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
102
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
96
CookieCrumble
Package Description
94
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
66
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
64
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
63
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
61
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
60
NJsonSchema.CodeGeneration
JSON Schema draft v4 reader, generator and validator for .NET
59

.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 30 12/30/2025
13.0.4 113 12/10/2025
13.0.4-beta1 24 12/19/2025
13.0.3 1,254 12/10/2025
13.0.3-beta1 15 12/20/2025
13.0.2 853 12/14/2025
13.0.2-beta3 13 01/09/2026
13.0.2-beta2 17 12/10/2025
13.0.2-beta1 14 12/13/2025
13.0.1 1,604 12/10/2025
12.0.3 16 12/11/2025
12.0.2 14 12/11/2025
12.0.1 12 12/14/2025
11.0.2 26 12/09/2025
11.0.1 16 12/14/2025
10.0.3 18 12/14/2025
10.0.2 13 12/13/2025
10.0.1 20 12/20/2025
9.0.1 25 12/14/2025
8.0.3 23 12/12/2025
8.0.2 13 12/16/2025
8.0.1 17 12/13/2025
7.0.1 15 12/11/2025
6.0.8 18 12/11/2025
6.0.7 18 12/15/2025
6.0.6 13 12/20/2025
6.0.5 15 12/10/2025
6.0.4 16 12/20/2025
6.0.3 16 12/26/2025
6.0.2 14 12/10/2025
6.0.1 14 12/19/2025
5.0.8 20 12/11/2025
5.0.7 20 12/15/2025
5.0.6 16 12/20/2025
5.0.5 14 12/18/2025
5.0.4 14 12/12/2025
5.0.3 17 12/10/2025
5.0.2 21 12/14/2025
5.0.1 15 12/11/2025
4.5.11 14 12/19/2025
4.5.10 16 12/11/2025
4.5.9 16 12/10/2025
4.5.8 18 12/14/2025
4.5.7 15 12/13/2025
4.5.6 18 12/10/2025
4.5.5 17 12/19/2025
4.5.4 20 12/11/2025
4.5.3 15 12/20/2025
4.5.2 15 12/13/2025
4.5.1 21 12/11/2025
4.0.8 14 12/12/2025
4.0.7 16 12/20/2025
4.0.6 16 12/20/2025
4.0.5 18 12/11/2025
4.0.4 14 12/10/2025
4.0.3 11 12/20/2025
4.0.2 17 12/10/2025
4.0.1 14 12/15/2025
3.5.8 13 12/11/2025