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
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
155
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
153
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
131
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
125
AutoWrapper.Core
A simple yet customizable HTTP response wrapper and exception handler for ASP.NET Core APIs.
123
MSTest.TestAdapter
The adapter to discover and execute MSTest Framework based tests. Supported platforms: - .NET 4.5.0+ - .NET Core 1.0+ (Universal Windows Apps 10+) (Visual Studio 2017) - .NET 5.0 Windows.17763+ (WinUI Desktop Apps) (Visual Studio 2019) - ASP.NET Core 1.0+ (Visual Studio 2017)
102
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
97
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
97
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
95
Serilog.Sinks.Slack
Serilog sink for Slack
83
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
77
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
73
MassTransit
MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
68
MassTransit
MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
67
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
67
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
63
Serilog.Sinks.Slack
Serilog sink for Slack
62
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
60
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
58
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
56

.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 3 08/02/2025
13.0.3 19 05/22/2023
13.0.2 47 01/16/2023
13.0.1 69 01/06/2022
12.0.3 43 12/15/2021
12.0.2 37 12/16/2021
12.0.1 36 12/21/2021
11.0.2 49 12/07/2021
11.0.1 24 04/20/2022
10.0.3 17 01/22/2023
10.0.2 20 09/07/2022
10.0.1 36 12/07/2021
9.0.1 46 12/07/2021
8.0.3 18 11/30/2024
8.0.2 18 10/05/2024
8.0.1 16 11/30/2024
7.0.1 19 01/02/2022
6.0.8 17 10/05/2024
6.0.7 15 11/30/2024
6.0.6 16 11/30/2024
6.0.5 16 11/30/2024
6.0.4 19 10/05/2024
6.0.3 17 11/30/2024
6.0.2 14 11/30/2024
6.0.1 17 11/30/2024
5.0.8 16 11/18/2024
5.0.7 16 11/29/2024
5.0.6 16 11/25/2024
5.0.5 15 11/30/2024
5.0.4 16 10/05/2024
5.0.3 17 11/24/2024
5.0.2 18 11/04/2024
5.0.1 14 11/30/2024
4.5.11 19 10/05/2024
4.5.10 15 10/18/2024
4.5.9 13 11/30/2024
4.5.8 15 11/30/2024
4.5.7 18 11/30/2024
4.5.6 16 11/30/2024
4.5.5 17 11/30/2024
4.5.4 16 11/30/2024
4.5.3 17 10/05/2024
4.5.2 16 11/30/2024
4.5.1 19 10/05/2024
4.0.8 18 11/30/2024
4.0.7 14 11/30/2024
4.0.6 17 11/28/2024
4.0.5 17 11/30/2024
4.0.4 15 11/30/2024
4.0.3 18 11/30/2024
4.0.2 16 11/30/2024
4.0.1 14 11/30/2024
3.5.8 14 11/30/2024