Newtonsoft.Json 13.0.4

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
Consul
Package Description
10,339
HotChocolate.Utilities
Contains internal helper classes and utilities used by the Hot Chocolate GraphQL type system and the GraphQL query execution engine.
4,868
HotChocolate.Utilities
Contains internal helper classes and utilities used by the Hot Chocolate GraphQL type system and the GraphQL query execution engine.
9,297
IdentityModel
OpenID Connect & OAuth 2.0 client library
10,353
IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
10,328
Jaeger
Jaeger .NET Tracing
10,338
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/844a82e37cae48af2ab2ee4f39b41283e6bb4f0e
10,343
Microsoft.AspNetCore.Mvc.NewtonsoftJson
ASP.NET Core MVC features that use Newtonsoft.Json. Includes input and output formatters for JSON and JSON PATCH. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/844a82e37cae48af2ab2ee4f39b41283e6bb4f0e
10,330
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.
10,344
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
11,113
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
11,342
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
15,033
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
10,350
Microsoft.IdentityModel.Protocols.OpenIdConnect
Includes types that provide support for OpenIdConnect protocol.
10,370
Microsoft.IdentityModel.Tokens
Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.
10,357
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
2,750
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
10,346
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
10,358
Refit
The automatic type-safe REST library for Xamarin and .NET
10,337
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
10,400

.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 9 09/21/2025
13.0.3 71 04/02/2023
13.0.3-beta1 55 04/02/2023
13.0.2 48 12/08/2022
13.0.2-beta2 47 09/24/2022
13.0.2-beta1 67 06/27/2022
13.0.1 10,234 06/27/2022
12.0.3 22,448 06/27/2022
12.0.2 11,041 06/27/2022
12.0.1 47 08/20/2022
11.0.2 296 08/20/2022
11.0.1 67 08/13/2022
10.0.3 55 08/20/2022
10.0.2 10,379 06/27/2022
10.0.1 10,357 06/27/2022
9.0.1 16,084 06/27/2022
8.0.3 53 08/13/2022
8.0.2 64 08/13/2022
8.0.1 54 08/20/2022
7.0.1 50 08/19/2022
6.0.8 53 08/13/2022
6.0.7 56 08/13/2022
6.0.6 67 08/13/2022
6.0.5 45 08/13/2022
6.0.4 45 08/13/2022
6.0.3 66 08/13/2022
6.0.2 59 08/19/2022
6.0.1 47 08/13/2022
5.0.8 52 08/13/2022
5.0.7 61 08/13/2022
5.0.6 77 08/21/2022
5.0.5 51 08/18/2022
5.0.4 53 08/13/2022
5.0.3 47 08/13/2022
5.0.2 50 08/13/2022
5.0.1 65 08/13/2022
4.5.11 40 09/02/2022
4.5.10 60 08/13/2022
4.5.9 41 08/19/2022
4.5.8 61 08/21/2022
4.5.7 49 08/19/2022
4.5.6 72 08/19/2022
4.5.5 86 08/19/2022
4.5.4 53 08/19/2022
4.5.3 88 08/19/2022
4.5.2 60 07/25/2022
4.5.1 55 08/22/2022
4.0.8 49 08/13/2022
4.0.7 47 08/13/2022
4.0.6 63 08/13/2022
4.0.5 52 08/13/2022
4.0.4 43 08/13/2022
4.0.3 51 08/19/2022
4.0.2 48 08/19/2022
4.0.1 74 08/13/2022
3.5.8 52 08/19/2022