Newtonsoft.Json 13.0.3

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.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
208
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
168
Aiursoft.DocGenerator
A tool for generating document for ASP.NET Core.
144
Microsoft.Azure.CognitiveServices.Search.WebSearch
This client library provides access to the Microsoft Cognitive Services Web Search API.
130
Microsoft.Rest.ClientRuntime
Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest.
130
Microsoft.Rest.ClientRuntime.Azure
Provides common error handling, tracing, and HTTP/REST-based pipeline manipulation.
130
Aiursoft.AiurProtocol.Abstractions
API Communication practice
124
AspNetCoreRateLimit
ASP.NET Core rate limiting middleware
97
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/88ec3bc3f37e76fbcc932a25f9f0c1c29fe2b343
94
NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
92
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/88ec3bc3f37e76fbcc932a25f9f0c1c29fe2b343
91
Microsoft.Azure.CognitiveServices.Search.EntitySearch
This client library provides access to the Microsoft Cognitive Services Entity Search API.
67
Microsoft.TeamFoundationServer.Client
Integrate with Azure DevOps Server and Azure DevOps Services from desktop-based, ASP.NET, and other Windows applications. Provides access to version control, work item tracking, build, and more via public REST APIs.
63
Microsoft.VisualStudio.Services.Client
Integrate with Azure DevOps Server 2022 and Azure DevOps Services from desktop-based, ASP.NET, and other Windows applications. Provides access to shared platform services such as account, profile, identity, security, and more via public REST APIs.
62
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
62
Aiursoft.AiurProtocol.Abstractions
API Communication practice
61
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.
61
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/0a715692d8e2536c899faa0bb4f0cec2c2e33e36
58
Aiursoft.DocGenerator
A tool for generating document for ASP.NET Core.
57
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/0a715692d8e2536c899faa0bb4f0cec2c2e33e36
57

.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 Standard 1.0

.NET Standard 1.3

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
13.0.3 190 03/25/2024
13.0.2 110 03/26/2024
13.0.1 195 03/25/2024
12.0.3 1 04/25/2024
12.0.2 2 04/25/2024
12.0.1 1 04/25/2024
11.0.2 1 04/25/2024
11.0.1 3 04/04/2024
10.0.3 130 03/25/2024
10.0.2 1 04/25/2024
10.0.1 1 04/25/2024
9.0.1 1 04/25/2024
8.0.3 2 04/03/2024
8.0.2 1 04/25/2024
8.0.1 1 04/25/2024
7.0.1 1 04/25/2024
6.0.8 1 04/25/2024
6.0.7 2 03/26/2024
6.0.6 3 04/01/2024
6.0.5 2 04/03/2024
6.0.4 1 04/25/2024
6.0.3 1 04/25/2024
6.0.2 2 04/25/2024
6.0.1 2 04/25/2024
5.0.8 1 04/25/2024
5.0.7 1 04/25/2024
5.0.6 1 04/25/2024
5.0.5 1 04/25/2024
5.0.4 3 04/14/2024
5.0.3 2 04/25/2024
5.0.2 3 04/24/2024
5.0.1 1 04/25/2024
4.5.11 2 04/25/2024
4.5.10 1 04/25/2024
4.5.9 2 04/12/2024
4.5.8 1 04/25/2024
4.5.7 0 06/09/2012
4.5.6 1 04/25/2024
4.5.5 1 04/25/2024
4.5.4 2 04/25/2024
4.5.3 2 04/25/2024
4.5.2 1 04/25/2024
4.5.1 2 04/25/2024
4.0.8 1 04/25/2024
4.0.7 2 04/03/2024
4.0.6 3 04/06/2024
4.0.5 3 04/19/2024
4.0.4 2 04/25/2024
4.0.3 1 04/25/2024
4.0.2 1 04/25/2024
4.0.1 2 04/02/2024
3.5.8 2 04/19/2024