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.
156
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
154
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
133
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
127
AutoWrapper.Core
A simple yet customizable HTTP response wrapper and exception handler for ASP.NET Core APIs.
124
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)
104
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
99
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
98
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
96
Serilog.Sinks.Slack
Serilog sink for Slack
84
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
79
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
76
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
69
MassTransit
MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
69
MassTransit
MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
68
Serilog.Sinks.Slack
Serilog sink for Slack
64
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
63
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
61
TaTaTu.Messaging.Abstractions
Set of contracts and interfaces for messaging applications.
59
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 6 08/02/2025
13.0.3 20 05/22/2023
13.0.2 49 01/16/2023
13.0.1 70 01/06/2022
12.0.3 45 12/15/2021
12.0.2 39 12/16/2021
12.0.1 38 12/21/2021
11.0.2 51 12/07/2021
11.0.1 26 04/20/2022
10.0.3 18 01/22/2023
10.0.2 21 09/07/2022
10.0.1 39 12/07/2021
9.0.1 48 12/07/2021
8.0.3 20 11/30/2024
8.0.2 20 10/05/2024
8.0.1 17 11/30/2024
7.0.1 20 01/02/2022
6.0.8 19 10/05/2024
6.0.7 17 11/30/2024
6.0.6 18 11/30/2024
6.0.5 18 11/30/2024
6.0.4 20 10/05/2024
6.0.3 18 11/30/2024
6.0.2 16 11/30/2024
6.0.1 19 11/30/2024
5.0.8 18 11/18/2024
5.0.7 18 11/29/2024
5.0.6 18 11/25/2024
5.0.5 17 11/30/2024
5.0.4 18 10/05/2024
5.0.3 19 11/24/2024
5.0.2 19 11/04/2024
5.0.1 16 11/30/2024
4.5.11 21 10/05/2024
4.5.10 16 10/18/2024
4.5.9 15 11/30/2024
4.5.8 17 11/30/2024
4.5.7 19 11/30/2024
4.5.6 18 11/30/2024
4.5.5 19 11/30/2024
4.5.4 18 11/30/2024
4.5.3 19 10/05/2024
4.5.2 18 11/30/2024
4.5.1 22 10/05/2024
4.0.8 19 11/30/2024
4.0.7 15 11/30/2024
4.0.6 19 11/28/2024
4.0.5 18 11/30/2024
4.0.4 17 11/30/2024
4.0.3 20 11/30/2024
4.0.2 18 11/30/2024
4.0.1 16 11/30/2024
3.5.8 16 11/30/2024