Newtonsoft.Json 13.0.3

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/
70
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
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
34
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
33
AspNetCore.HealthChecks.UI.Client
HealthChecks.UI.Client contains some mandatory abstractions to work with HealthChecks.UI.
32
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
32
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
31
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.
31
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
30
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
29

.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.3 32 7/2/2023
13.0.2 19 7/2/2023
13.0.1 17 7/2/2023
12.0.3 20 4/12/2022
12.0.2 20 4/12/2022
12.0.1 20 7/2/2023
11.0.2 23 4/12/2022
11.0.1 19 4/12/2022
10.0.3 22 4/12/2022
10.0.2 20 4/12/2022
10.0.1 16 4/12/2022
9.0.1 18 7/2/2023
8.0.3 23 7/2/2023
8.0.2 16 7/2/2023
8.0.1 17 7/2/2023
7.0.1 17 7/2/2023
6.0.8 19 7/2/2023
6.0.7 15 7/2/2023
6.0.6 17 7/2/2023
6.0.5 16 7/2/2023
6.0.4 18 4/12/2022
6.0.3 18 7/2/2023
6.0.2 14 7/2/2023
6.0.1 18 7/2/2023
5.0.8 16 7/2/2023
5.0.7 17 7/2/2023
5.0.6 18 7/2/2023
5.0.5 15 7/2/2023
5.0.4 19 7/2/2023
5.0.3 23 7/2/2023
5.0.2 15 7/2/2023
5.0.1 18 7/2/2023
4.5.11 20 7/2/2023
4.5.10 18 7/2/2023
4.5.9 23 7/2/2023
4.5.8 17 7/2/2023
4.5.7 20 7/2/2023
4.5.6 18 7/2/2023
4.5.5 19 7/2/2023
4.5.4 21 7/2/2023
4.5.3 18 7/2/2023
4.5.2 21 7/2/2023
4.5.1 22 7/2/2023
4.0.8 17 7/2/2023
4.0.7 16 7/2/2023
4.0.6 17 7/2/2023
4.0.5 16 7/2/2023
4.0.4 16 7/2/2023
4.0.3 17 7/2/2023
4.0.2 18 7/2/2023
4.0.1 18 7/2/2023
3.5.8 21 7/2/2023