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/
81
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
52
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
51
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
50
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.
50
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.
50
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
48
Microsoft.DotNet.ProjectModel
Types to model a .NET Project
48
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI:Client contains some mandatory abstractions to work with HealthChecks.UI.
47
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
47
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 mockup data. Get started by using Faker class or a DataSet directly.
47
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.
47
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI.Client contains some mandatory abstractions to work with HealthChecks.UI.
46
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI:Client contains some mandatory abstractions to work with HealthChecks.UI.
46
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
46
TweetinviAPI
Tweetinvi is an intuitive .NET C# library to access the Twitter REST API. It is a .NET Core library that can be used for development in ASP.NET, Xamarin Android, Xamarin iOS and Windows 10 Universal Apps.
46

.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 4 9/19/2025
13.0.4-beta1 10 8/11/2025
13.0.3 45 7/2/2023
13.0.2 29 7/2/2023
13.0.1 30 7/2/2023
12.0.3 30 4/12/2022
12.0.2 30 4/12/2022
12.0.1 29 7/2/2023
11.0.2 34 4/12/2022
11.0.1 36 4/12/2022
10.0.3 33 4/12/2022
10.0.2 30 4/12/2022
10.0.1 27 4/12/2022
9.0.1 28 7/2/2023
8.0.3 35 7/2/2023
8.0.2 27 7/2/2023
8.0.1 27 7/2/2023
7.0.1 29 7/2/2023
6.0.8 29 7/2/2023
6.0.7 24 7/2/2023
6.0.6 28 7/2/2023
6.0.5 25 7/2/2023
6.0.4 29 4/12/2022
6.0.3 24 7/2/2023
6.0.2 25 7/2/2023
6.0.1 26 7/2/2023
5.0.8 24 7/2/2023
5.0.7 27 7/2/2023
5.0.6 30 7/2/2023
5.0.5 26 7/2/2023
5.0.4 31 7/2/2023
5.0.3 35 7/2/2023
5.0.2 24 7/2/2023
5.0.1 27 7/2/2023
4.5.11 33 7/2/2023
4.5.10 28 7/2/2023
4.5.9 31 7/2/2023
4.5.8 29 7/2/2023
4.5.7 29 7/2/2023
4.5.6 29 7/2/2023
4.5.5 29 7/2/2023
4.5.4 32 7/2/2023
4.5.3 29 7/2/2023
4.5.2 31 7/2/2023
4.5.1 37 7/2/2023
4.0.8 28 7/2/2023
4.0.7 26 7/2/2023
4.0.6 26 7/2/2023
4.0.5 25 7/2/2023
4.0.4 29 7/2/2023
4.0.3 26 7/2/2023
4.0.2 27 7/2/2023
4.0.1 27 7/2/2023
3.5.8 33 7/2/2023