Newtonsoft.Json 13.0.5-beta1

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/dotnet/tree/44525024595742ebe09023abe709df51de65009b
5
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/44525024595742ebe09023abe709df51de65009b
5
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/f736effe82a61eb6f5eba46e4173eae3b7d3dffd
5
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/ee417479933278bb5aadc5944706a96b5ef74a5d
4
AlipaySDKNet.Standard
支付宝开放平台官方SDK,基于.Net Standard 2.0开发,支持.Net Framework 4.6.1、.Net Core 2.0及其以上版本。
4
DH.Common
DH框架基类核心库
4
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/f736effe82a61eb6f5eba46e4173eae3b7d3dffd
4
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
4
Microsoft.VisualStudio.Web.CodeGeneration.Design
Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.
3
AlipaySDKNet.Standard
支付宝开放平台官方SDK,基于.Net Standard 2.0开发,支持.Net Framework 4.6.1、.Net Core 2.0及其以上版本。
3
Microsoft.DotNet.Scaffolding.Shared
Contains interfaces for Project Model and messaging for scaffolding.
3
Microsoft.VisualStudio.Web.CodeGeneration
Contains the CodeGenCommand that finds the appropriate code generator and invokes it from project dependencies.
3
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
3
Microsoft.VisualStudio.Web.CodeGeneration.Templating
Contains Razor based templating host used by ASP.NET Core Code Generators.
3
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/dotnet/tree/fad253f51b461736dfd3cd9c15977bb7493becef
3
DH.BaiDuAipSdk
基于DH框架的百度自然语言处理服务SDK,支持词法分析、依存句法分析、词向量表示、DNN语言模型、词义相似度、短文本相似度、评论观点抽取、情感倾向分析、文章标签、文章分类、文本纠错、中文分词、词性标注、对话情绪识别及新闻摘要等,https://ai.baidu.com/ai-doc/NLP/ik6z52biz https://github.com/Baidu-AIP/dotnet-sdk
3
DH.Common
DH框架基类核心库
3
DH.SKIT.FlurlHttpClient.Common
用于DH框架的一个开发工具包的公共组件。为开发者提供使用体验一致的、可跨平台的第三方 API .NET SDK。已支持微信、字节跳动、又拍云系列 API。参考https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient
3

.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.5-beta1 1 2026/1/14
13.0.4 1 2026/1/22
13.0.3 1 2026/1/22
13.0.2 0 2022/11/24
13.0.1 0 2021/3/22
12.0.3 2 2026/1/22
12.0.2 0 2019/4/22
12.0.1 0 2018/11/27
11.0.2 0 2018/3/24
11.0.1 0 2018/2/17
10.0.3 1 2026/1/22
10.0.2 0 2017/4/2
10.0.1 0 2017/3/20
9.0.1 1 2026/1/14
8.0.3 1 2026/1/14
8.0.2 0 2016/1/9
8.0.1 1 2026/1/14
7.0.1 1 2026/1/14
6.0.8 0 2015/1/11
6.0.7 1 2026/1/14
6.0.6 1 2026/1/14
6.0.5 1 2026/1/14
6.0.4 0 2014/8/3
6.0.3 0 2014/4/27
6.0.2 1 2026/1/14
6.0.1 1 2026/1/14
5.0.8 1 2026/1/14
5.0.7 1 2026/1/14
5.0.6 1 2026/1/14
5.0.5 1 2026/1/14
5.0.4 1 2026/1/14
5.0.3 1 2026/1/14
5.0.2 1 2026/1/14
5.0.1 1 2026/1/14
4.5.11 0 2012/11/20
4.5.10 0 2012/10/7
4.5.9 1 2026/1/14
4.5.8 1 2026/1/14
4.5.7 1 2026/1/14
4.5.6 1 2026/1/14
4.5.5 1 2026/1/14
4.5.4 1 2026/1/14
4.5.3 1 2026/1/14
4.5.2 1 2026/1/14
4.5.1 1 2026/1/14
4.0.8 0 2012/2/12
4.0.7 1 2026/1/14
4.0.6 1 2026/1/14
4.0.5 1 2026/1/14
4.0.4 1 2026/1/14
4.0.3 0 2011/10/2
4.0.2 1 2026/1/14
4.0.1 0 2011/4/22
3.5.8 0 2011/1/8