Newtonsoft.Json 13.0.4-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
Google.Apis
The Google APIs Client Library is a runtime client for working with Google services. The library supports service requests, media upload and download, etc. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
119
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
108
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
107
Google.Apis
The Google APIs Client Library is a runtime client for working with Google services. The library supports service requests, media upload and download, etc. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
106
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding. This package was built from the source code at https://github.com/aspnet/scaffolding/tree/a8a3c4d6bcef48a3dd464d03f629a0a18dbf3110
106
Google.Apis
The Google APIs Client Library is a runtime client for working with Google services. The library supports service requests, media upload and download, etc. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
104
NuGet.Protocol.Core.v3
NuGet Protocol for 3.1.0 servers
102
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
101
NuGet.RuntimeModel
NuGet v3 core library.
100
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
99
NuGet.Packaging
NuGet's implementation for reading nupkg package and nuspec package specification files.
99
Google.Apis
The Google APIs Client Library is a runtime client for working with Google services. The library supports service requests, media upload and download, etc. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
98
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
98
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
98
NuGet.Packaging
NuGet's implementation for reading nupkg package and nuspec package specification files.
98
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding.
97
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4 - Windows Store apps - Windows Phone 8 and 8.1 - Portable Class Libraries
97

.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.4-beta1 5 8/1/2025
13.0.3 106 5/17/2023
13.0.3-beta1 91 2/23/2023
13.0.2 86 11/30/2022
13.0.2-beta3 87 12/4/2022
13.0.2-beta2 77 9/15/2022
13.0.2-beta1 88 5/21/2022
13.0.1 89 6/27/2022
12.0.3 77 6/27/2022
12.0.2 81 5/21/2022
12.0.1 74 5/21/2022
11.0.2 70 6/27/2022
11.0.1 110 6/4/2022
10.0.3 101 6/7/2022
10.0.2 93 5/21/2022
10.0.1 74 6/27/2022
9.0.1 55 6/19/2022
8.0.3 81 6/27/2022
8.0.2 78 5/20/2022
8.0.1 83 6/11/2022
7.0.1 81 5/20/2022
6.0.8 72 5/20/2022
6.0.7 88 6/27/2022
6.0.6 104 6/27/2022
6.0.5 73 6/27/2022
6.0.4 102 5/21/2022
6.0.3 91 6/27/2022
6.0.2 71 6/7/2022
6.0.1 73 6/25/2022
5.0.8 91 5/28/2022
5.0.7 70 6/27/2022
5.0.6 79 6/11/2022
5.0.5 89 6/27/2022
5.0.4 80 6/27/2022
5.0.3 73 6/27/2022
5.0.2 74 6/27/2022
5.0.1 111 6/19/2022
4.5.11 73 6/27/2022
4.5.10 71 6/27/2022
4.5.9 75 6/27/2022
4.5.8 98 5/21/2022
4.5.7 94 6/27/2022
4.5.6 72 6/27/2022
4.5.5 82 6/27/2022
4.5.4 91 5/28/2022
4.5.3 76 5/21/2022
4.5.2 110 5/21/2022
4.5.1 85 5/20/2022
4.0.8 96 6/27/2022
4.0.7 82 6/27/2022
4.0.6 108 5/30/2022
4.0.5 87 6/27/2022
4.0.4 67 6/27/2022
4.0.3 84 5/21/2022
4.0.2 71 6/27/2022
4.0.1 97 5/21/2022
3.5.8 83 6/4/2022