Newtonsoft.Json 14.0.1-beta2

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
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
929
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
911
Microsoft.IdentityModel.Protocols.OpenIdConnect
Includes types that provide support for OpenIdConnect protocol.
910
Microsoft.IdentityModel.Tokens
Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.
904
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
699
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 (Visual Studio 2019) - .NET 5.0 Windows.18362+ (WinUI Desktop Apps) (Visual Studio 2019) - ASP.NET Core 1.0+ (Visual Studio 2017)
581
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
551
Auth0.Core
Auth0 .NET SDK
550
ConfigCat.Client
Feature Flags created by developers for developers with ❤️. ConfigCat lets you manage feature flags across frontend, backend, mobile, and desktop apps without (re)deploying code. % rollouts, user targeting, segmentation. Feature toggle SDKs for all main languages. Alternative to LaunchDarkly. Host yourself, or use the hosted management app at https://configcat.com. Works with .NET, .NET Core, .NET Standard
530
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
465
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
449
Microsoft.VisualStudio.Web.CodeGeneration.Core
Contains the core infrastructure used by ASP.NET Core Code Generators.
430
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding.
424
Microsoft.VisualStudio.Web.CodeGeneration.Utils
Contains utilities used by ASP.NET Core Code Generation packages.
421
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files. Commonly Used Types: Microsoft.Extensions.DependencyModel.DependencyContext When using NuGet 3.x this package requires at least version 3.4.
330
AspNetCoreRateLimit
ASP.NET Core rate limiting middleware
276
Microsoft.EntityFrameworkCore.Tools.DotNet
Entity Framework Core .NET Command-line Tools. Includes dotnet-ef.
238
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
235
IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
189
Swashbuckle.Core
Seamlessly adds a Swagger to WebApi projects!
180

.NET 10.0

  • No dependencies.

.NET Framework 2.0

  • No dependencies.

.NET Framework 3.5

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
14.0.1-beta2 14 09/22/2026
14.0.1-beta1 13 09/23/2026
13.0.5-beta1 49 01/01/2026
13.0.4 21 10/22/2025
13.0.4-beta1 19 10/16/2025
13.0.3 461 12/11/2023
13.0.2 37 01/20/2023
13.0.1 512 08/17/2021
12.0.3 349 01/13/2021
12.0.2 171 01/13/2021
12.0.1 24 09/03/2021
11.0.2 170 10/08/2021
11.0.1 21 08/20/2021
10.0.3 491 02/16/2021
10.0.2 32 04/18/2022
10.0.1 623 02/24/2021
9.0.1 374 03/25/2022
8.0.3 19 02/11/2024
8.0.2 18 03/03/2024
8.0.1 22 03/03/2024
7.0.1 20 02/16/2021
6.0.8 20 03/03/2024
6.0.7 29 02/23/2024
6.0.6 12 03/04/2024
6.0.5 18 12/25/2023
6.0.4 20 03/17/2021
6.0.3 19 02/13/2024
6.0.2 13 03/03/2024
6.0.1 14 03/03/2024
5.0.8 17 03/04/2024
5.0.7 19 03/04/2024
5.0.6 28 03/04/2024
5.0.5 19 03/04/2024
5.0.4 15 03/04/2024
5.0.3 23 12/12/2023
5.0.2 21 03/04/2024
5.0.1 15 03/03/2024
4.5.11 22 03/03/2024
4.5.10 23 02/01/2024
4.5.9 16 02/01/2024
4.5.8 17 03/03/2024
4.5.7 19 02/22/2024
4.5.6 22 10/06/2021
4.5.5 27 12/18/2023
4.5.4 18 12/31/2023
4.5.3 23 12/20/2023
4.5.2 12 03/03/2024
4.5.1 17 02/28/2024
4.0.8 20 12/28/2023
4.0.7 20 01/01/2024
4.0.6 22 03/04/2024
4.0.5 19 02/09/2024
4.0.4 14 03/03/2024
4.0.3 20 12/20/2023
4.0.2 16 02/04/2024
4.0.1 22 03/03/2024
3.5.8 22 12/17/2023