Newtonsoft.Json 13.0.2

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
Senparc.CO2NET
Senparc.CO2NET 公共基础库 Senparc.Weixin SDK 开源项目: https://github.com/Senparc/Senparc.CO2NET
38
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
38
Microsoft.Azure.Cosmos
This client library enables client applications to connect to Azure Cosmos DB via the NoSQL API. Azure Cosmos DB is a globally distributed, multi-model database service. For more information, refer to http://azure.microsoft.com/services/cosmos-db/.
36
Microsoft.EntityFrameworkCore.Tools.DotNet
Entity Framework Core .NET Command Line Tools. Includes dotnet-ef.
36
Senparc.CO2NET
Senparc.CO2NET 公共基础库 Senparc.Weixin SDK 开源项目: https://github.com/Senparc/Senparc.CO2NET
35
Microsoft.Rest.ClientRuntime
Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest. Supported Platforms: - Portable Class Libraries - .NET Framework 4.5 - Windows 8 - Windows Phone 8.1 - DotNet Core
35
NuGet.RuntimeModel
NuGet.RuntimeModel
34
Microsoft.AspNetCore.Http.Connections
Components for providing real-time bi-directional communication across the Web.
30
Microsoft.VisualStudio.Web.CodeGeneration.Core
Contains the core infrastructure used by ASP.NET Core Code Generators.
30
FreeSql.Provider.PostgreSQL
FreeSql 数据库实现,基于 PostgreSQL 9.5
29
AspNetCore.HealthChecks.UI
HealthChecks.UI Is a ASP.NET Core UI viewer of ASP.NET Core HealthChecks.For more information see https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
28
Microsoft.Rest.ClientRuntime.Azure.Authentication
Provides ADAL based authentication for Azure management client libraries
27
KubernetesClient
Client library for the Kubernetes open source container orchestrator.
27
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
27
Bogus
A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mockup data. Get started by using Faker class or a DataSet directly.
27
KubernetesClient
Client library for the Kubernetes open source container orchestrator.
26
Steeltoe.Common.Http
Steeltoe Common Library
25
Bogus
A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mockup data. Get started by using Faker class or a DataSet directly.
25
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/ada5ad97d2114250a05550cb28cc18b9cf9f8993
24
Microsoft.Azure.Cosmos.Direct
Internal implementation package not meant for direct consumption. Please do not reference directly.
24

.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 1 11/8/2025
13.0.3 3 6/15/2025
13.0.2 3 7/9/2025
13.0.1 2 6/17/2025
12.0.3 6 6/16/2025
12.0.2 3 6/17/2025
12.0.1 3 7/9/2025
11.0.2 3 7/9/2025
11.0.1 5 7/9/2025
10.0.3 2 7/9/2025
10.0.2 2 7/9/2025
10.0.1 3 6/16/2025
9.0.1 3 6/25/2025
8.0.3 3 6/25/2025
8.0.2 3 6/25/2025
8.0.1 3 6/25/2025
7.0.1 4 6/18/2025
6.0.8 3 6/25/2025
6.0.7 3 6/25/2025
6.0.6 3 6/25/2025
6.0.5 2 6/25/2025
6.0.4 3 6/25/2025
6.0.3 5 6/17/2025
6.0.2 3 6/25/2025
6.0.1 5 6/18/2025
5.0.8 3 6/18/2025
5.0.7 4 6/17/2025
5.0.6 4 6/16/2025
5.0.5 2 6/25/2025
5.0.4 4 6/18/2025
5.0.3 4 6/25/2025
5.0.2 3 6/25/2025
5.0.1 3 6/12/2025
4.5.11 5 6/17/2025
4.5.10 3 7/9/2025
4.5.9 3 6/25/2025
4.5.8 5 6/18/2025
4.5.7 2 6/25/2025
4.5.6 3 6/25/2025
4.5.5 3 6/25/2025
4.5.4 3 6/18/2025
4.5.3 2 6/25/2025
4.5.2 2 6/25/2025
4.5.1 3 6/25/2025
4.0.8 4 6/17/2025
4.0.7 5 6/25/2025
4.0.6 3 6/25/2025
4.0.5 4 6/18/2025
4.0.4 4 6/18/2025
4.0.3 4 6/16/2025
4.0.2 3 6/25/2025
4.0.1 4 6/12/2025
3.5.8 2 6/25/2025