Newtonsoft.Json 14.0.1-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
Serilog.Enrichers.Context
Enrich Serilog event with environment variables.
36
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.
28
Hangfire.Core
An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks inside ASP.NET applications. No Windows Service / Task Scheduler required. Even ASP.NET is not required. Backed by Redis, SQL Server, SQL Azure or MSMQ. This is a .NET alternative to Sidekiq, Resque and Celery. https://www.hangfire.io/
27
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
27
Hangfire.Core
An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks in .NET applications. No Windows Service / Task Scheduler required. Backed by Redis, SQL Server, SQL Azure or MSMQ. This is a .NET alternative to Sidekiq, Resque and Celery. https://www.hangfire.io/
15
Hangfire.Core
An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks in .NET applications. No Windows Service / Task Scheduler required. Backed by Redis, SQL Server, SQL Azure or MSMQ. This is a .NET alternative to Sidekiq, Resque and Celery. https://www.hangfire.io/
10
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
5
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3f1acb59718cadf111a0a796681e3d3509bb3381
5
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/aspnetcore/tree/25bd01f17d5f01fc78bea5eb5308b2c0d79e2889
5
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/e2c1e00b3d0f96afb892fb261d5921565b400246
5
Microsoft.IdentityModel.Logging
Includes Event Source based logging support.
5
Microsoft.AspNetCore.Authentication.OAuth
ASP.NET Core middleware that enables an application to support any standard OAuth 2.0 authentication workflow.
5
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/f6b3a5da75eb405046889a5447ec9b14cc29d285
5
Google.Apis.Auth
The Google APIs Client Library is a runtime client for working with Google services. This package includes auth components like user-credential, authorization code flow, etc. for making authenticated calls using the OAuth2 spec. Supported Platforms: - .NET Framework 4.5 and 4.6 - NetStandard1.3 - Windows 8 Apps - Windows Phone 8 and 8.1 - Portable Class Libraries
5
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/aspnetcore/tree/c0ae1d179dba6f3acd0e55be55718c97c9028698
5
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
5
KubernetesClient
Client library for the Kubernetes open source container orchestrator.
5
Microsoft.Orleans.Sdk
Microsoft Orleans meta package to bring in the base Orleans packages for all project types.
5
Microsoft.AspNetCore.Authentication.Twitter
ASP.NET Core middleware that enables an application to support Twitter's OAuth 2.0 authentication workflow.
5

.NET 10.0

  • No dependencies.

.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 6.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
14.0.1-beta2 1 09/26/2026
14.0.1-beta1 2 09/26/2026
13.0.4 31 09/26/2026
13.0.3 36 06/10/2026
13.0.2 1 09/26/2026
13.0.1 2 09/26/2026
12.0.3 2 09/26/2026
12.0.2 2 09/26/2026
12.0.1 3 09/26/2026
11.0.2 1 09/26/2026
11.0.1 25 09/26/2026
10.0.3 2 09/26/2026
10.0.2 3 09/26/2026
10.0.1 1 09/26/2026
9.0.1 2 09/26/2026
8.0.3 3 09/26/2026
8.0.2 1 09/26/2026
8.0.1 2 09/26/2026
7.0.1 2 09/26/2026
6.0.8 3 09/26/2026
6.0.7 1 09/26/2026
6.0.6 2 09/26/2026
6.0.5 2 09/26/2026
6.0.4 1 09/26/2026
6.0.3 1 09/26/2026
6.0.2 2 09/26/2026
6.0.1 2 09/26/2026
5.0.8 2 09/26/2026
5.0.7 3 09/26/2026
5.0.6 2 09/26/2026
5.0.5 1 09/26/2026
5.0.4 1 09/26/2026
5.0.3 2 09/26/2026
5.0.2 1 09/26/2026
5.0.1 1 09/26/2026
4.5.11 3 09/26/2026
4.5.10 2 09/26/2026
4.5.9 1 09/26/2026
4.5.8 3 09/26/2026
4.5.7 3 09/26/2026
4.5.6 1 09/26/2026
4.5.5 1 09/26/2026
4.5.4 2 09/26/2026
4.5.3 1 09/26/2026
4.5.2 2 09/26/2026
4.5.1 2 09/26/2026
4.0.8 2 09/26/2026
4.0.7 3 09/26/2026
4.0.6 2 09/26/2026
4.0.5 2 09/26/2026
4.0.4 1 09/26/2026
4.0.3 2 09/26/2026
4.0.2 2 09/26/2026
4.0.1 1 09/26/2026
3.5.8 2 09/26/2026