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
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/
78
AspNetCore.HealthChecks.UI
HealthChecks.UI is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks. For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
45
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
44
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
43
Microsoft.AspNet.WebApi.Client
This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.
43
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI.Client contains some mandatory abstractions to work with HealthChecks.UI.
42
Bogus
A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mock up data. Get started by using Faker class or a DataSet directly.
42
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
41
Microsoft.AspNet.WebApi.Client
This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.
39
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI:Client contains some mandatory abstractions to work with HealthChecks.UI.
39
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
39
Microsoft.AspNet.Authentication.Cookies
ASP.NET middleware that enables an application to use cookie based authentication, similar to ASP.NET's forms authentication.
39
Microsoft.DotNet.ProjectModel
Types to model a .NET Project
39
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
38
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI:Client contains some mandatory abstractions to work with HealthChecks.UI.
38

.NET Framework 2.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET Standard 1.3

.NET Standard 1.0

.NET Framework 4.5

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 3.5

  • No dependencies.

Version Downloads Last updated
13.0.4-beta1 1 8/11/2025
13.0.3 40 7/2/2023
13.0.2 25 7/2/2023
13.0.1 23 7/2/2023
12.0.3 26 4/12/2022
12.0.2 26 4/12/2022
12.0.1 25 7/2/2023
11.0.2 29 4/12/2022
11.0.1 28 4/12/2022
10.0.3 29 4/12/2022
10.0.2 26 4/12/2022
10.0.1 22 4/12/2022
9.0.1 23 7/2/2023
8.0.3 29 7/2/2023
8.0.2 21 7/2/2023
8.0.1 22 7/2/2023
7.0.1 24 7/2/2023
6.0.8 24 7/2/2023
6.0.7 20 7/2/2023
6.0.6 25 7/2/2023
6.0.5 21 7/2/2023
6.0.4 24 4/12/2022
6.0.3 22 7/2/2023
6.0.2 19 7/2/2023
6.0.1 23 7/2/2023
5.0.8 21 7/2/2023
5.0.7 22 7/2/2023
5.0.6 25 7/2/2023
5.0.5 20 7/2/2023
5.0.4 25 7/2/2023
5.0.3 30 7/2/2023
5.0.2 20 7/2/2023
5.0.1 23 7/2/2023
4.5.11 28 7/2/2023
4.5.10 24 7/2/2023
4.5.9 28 7/2/2023
4.5.8 22 7/2/2023
4.5.7 26 7/2/2023
4.5.6 25 7/2/2023
4.5.5 24 7/2/2023
4.5.4 27 7/2/2023
4.5.3 23 7/2/2023
4.5.2 27 7/2/2023
4.5.1 29 7/2/2023
4.0.8 23 7/2/2023
4.0.7 21 7/2/2023
4.0.6 22 7/2/2023
4.0.5 21 7/2/2023
4.0.4 22 7/2/2023
4.0.3 22 7/2/2023
4.0.2 23 7/2/2023
4.0.1 23 7/2/2023
3.5.8 26 7/2/2023