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
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/dotnet/aspnetcore/tree/3f1acb59718cadf111a0a796681e3d3509bb3381
3
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
3
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3f1acb59718cadf111a0a796681e3d3509bb3381
3
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/954f61dd38b33caa2b736c73530bd5a294174437
2
Google.Api.Gax
Support classes for Google API client libraries
2
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on.
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/860072f7781a10db10fa925ea5c86d91f1e6f2c4
2
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 and 4.6 - NetStandard1.3 - Windows 8 Apps - Windows Phone 8 and 8.1 - Portable Class Libraries
2
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
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/dotnet/tree/ddf39a1b4690fbe23aea79c78da67004a5c31094
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/be2530c3035e4bfa7670c6b18f5a64ef89e0e80d
2
Minio
MinIO .NET SDK for Amazon S3 Compatible Cloud Storage.
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/febee99db845fd8766a13bdb391a07c3ee90b4ba
2
Microsoft.IdentityModel.Protocols.OpenIdConnect
Includes types that provide support for OpenIdConnect protocol.
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/c83354d42e63d2bb07e6b24b7c67ef91e434f359
2
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/215a587e52efa710de84138b0a3374b860b924d8
2
Google.Api.Gax
Google.Api.Gax
2

.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 1 09/26/2026
14.0.1-beta1 0 09/21/2026
13.0.4 1 09/26/2026
13.0.3 7 06/10/2026
13.0.2 0 11/24/2022
13.0.1 0 03/22/2021
12.0.3 1 09/26/2026
12.0.2 0 04/22/2019
12.0.1 0 11/27/2018
11.0.2 0 03/24/2018
11.0.1 0 02/17/2018
10.0.3 1 09/26/2026
10.0.2 0 04/02/2017
10.0.1 0 03/20/2017
9.0.1 0 06/22/2016
8.0.3 1 09/26/2026
8.0.2 0 01/09/2016
8.0.1 0 12/29/2015
7.0.1 1 09/26/2026
6.0.8 1 09/26/2026
6.0.7 1 09/26/2026
6.0.6 1 09/26/2026
6.0.5 0 09/06/2014
6.0.4 0 08/03/2014
6.0.3 0 04/27/2014
6.0.2 0 03/30/2014
6.0.1 0 02/01/2014
5.0.8 1 09/26/2026
5.0.7 0 10/14/2013
5.0.6 1 09/26/2026
5.0.5 1 09/26/2026
5.0.4 0 04/25/2013
5.0.3 0 04/14/2013
5.0.2 0 04/08/2013
5.0.1 1 09/26/2026
4.5.11 0 11/20/2012
4.5.10 0 10/07/2012
4.5.9 0 09/08/2012
4.5.8 2 09/26/2026
4.5.7 0 06/09/2012
4.5.6 1 09/26/2026
4.5.5 1 09/26/2026
4.5.4 0 04/24/2012
4.5.3 0 04/13/2012
4.5.2 0 04/11/2012
4.5.1 1 09/26/2026
4.0.8 0 02/12/2012
4.0.7 0 01/24/2012
4.0.6 0 01/23/2012
4.0.5 2 09/26/2026
4.0.4 0 11/19/2011
4.0.3 0 10/02/2011
4.0.2 0 04/23/2011
4.0.1 1 09/26/2026
3.5.8 0 01/08/2011