Newtonsoft.Json 13.0.4
Json.NET
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"
// ]
// }
Links
Showing the top 20 packages that depend on Newtonsoft.Json.
| Packages | Downloads |
|---|---|
|
Microsoft.CodeAnalysis.Workspaces.MSBuild
.NET Compiler Platform ("Roslyn") support for analyzing MSBuild projects and solutions. This should be used with at least one
of the following packages to add the appropriate language support:
- Microsoft.CodeAnalysis.CSharp.Workspaces
- Microsoft.CodeAnalysis.VisualBasic.Workspaces
More details at https://aka.ms/roslyn-packages
This package was built from the source at https://github.com/dotnet/roslyn/commit/fa72fa61b0d822ea8a3fbeb96f668340419ab5cd.
|
19 |
|
TencentCloudSDK
Tencent Cloud API 3.0 SDK for .NET
|
17 |
|
Consul
Consul.NET is a .NET client library for the Consul HTTP API
|
17 |
|
Consul
Consul.NET is a .NET client library for the Consul HTTP API
|
16 |
|
Butterfly.Client
A .NET client for Butterfly.
|
16 |
|
Consul
.NET API for Consul (http://www.consul.io/)
|
15 |
|
AlibabaCloud.TeaUtil
Alibaba Cloud TeaUtil SDK for .NET
|
15 |
|
KubernetesClient
Client library for the Kubernetes open source container orchestrator.
|
15 |
|
Z.Expressions.Eval
C# Eval Expression is an Eval function. You can Evaluate, Compile and Execute C# code at runtime.
Example: https://dotnetfiddle.net/COq6FC
Include free and prime features.
|
15 |
|
Swashbuckle.AspNetCore.SwaggerUI
Middleware to expose an embedded version of the swagger-ui 3 from an ASP.NET Core application
|
15 |
|
learun.database
力软数据库操作方法
3.4.6 添加表名插入数据方法
3.4.8 修复表名插入数据方法字段类型错误的问题
3.4.9 添加表名更新数据方法 和 删除方法
3.5.0 修复表名更新方法错误问题
3.5.1 mysql 连接测试异常
3.5.2 增加新的查询方法
|
15 |
|
TencentCloudSDK
Tencent Cloud API 3.0 SDK for .NET
|
15 |
|
NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
|
15 |
|
TencentCloudSDK
Tencent Cloud API 3.0 SDK for .NET
|
14 |
|
Z.Expressions.Eval
Evaluate, Compile and Execute C# code at runtime.
Support: Dynamic LINQ, Extension Method, Expando Object, and more!
Online Example: https://dotnetfiddle.net/COq6FC
Include free and prime features.
|
14 |
|
Consul
.NET API for Consul (http://www.consul.io/)
|
14 |
.NET Framework 2.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET 6.0
- No dependencies.
.NET Standard 1.3
- System.Xml.XmlDocument (>= 4.3.0)
- System.Runtime.Serialization.Formatters (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- Microsoft.CSharp (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
.NET Standard 1.0
- System.ComponentModel.TypeConverter (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- Microsoft.CSharp (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.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 | 2025/11/2 |
| 13.0.3 | 8 | 2025/5/25 |
| 13.0.2 | 7 | 2025/6/11 |
| 13.0.1 | 8 | 2025/6/6 |
| 12.0.3 | 3 | 2025/4/17 |
| 12.0.2 | 4 | 2025/6/10 |
| 12.0.1 | 2 | 2025/6/8 |
| 11.0.2 | 3 | 2025/4/17 |
| 11.0.1 | 1 | 2025/11/1 |
| 10.0.3 | 3 | 2025/4/17 |
| 10.0.2 | 6 | 2025/6/10 |
| 10.0.1 | 2 | 2025/6/7 |
| 9.0.1 | 2 | 2025/6/9 |
| 8.0.3 | 1 | 2025/11/2 |
| 8.0.2 | 2 | 2025/6/7 |
| 8.0.1 | 2 | 2025/6/16 |
| 7.0.1 | 1 | 2025/11/2 |
| 6.0.8 | 1 | 2025/11/3 |
| 6.0.7 | 4 | 2025/6/9 |
| 6.0.6 | 1 | 2025/11/2 |
| 6.0.5 | 2 | 2025/6/7 |
| 6.0.4 | 1 | 2025/11/3 |
| 6.0.3 | 2 | 2025/6/7 |
| 6.0.2 | 1 | 2025/11/2 |
| 6.0.1 | 1 | 2025/11/2 |
| 5.0.8 | 2 | 2025/10/11 |
| 5.0.7 | 6 | 2025/6/10 |
| 5.0.6 | 2 | 2025/6/8 |
| 5.0.5 | 5 | 2025/6/12 |
| 5.0.4 | 4 | 2025/6/7 |
| 5.0.3 | 1 | 2025/11/2 |
| 5.0.2 | 4 | 2025/5/27 |
| 5.0.1 | 1 | 2025/11/2 |
| 4.5.11 | 3 | 2025/6/7 |
| 4.5.10 | 2 | 2025/6/7 |
| 4.5.9 | 2 | 2025/6/7 |
| 4.5.8 | 1 | 2025/11/3 |
| 4.5.7 | 2 | 2025/6/8 |
| 4.5.6 | 2 | 2025/6/8 |
| 4.5.5 | 1 | 2025/5/28 |
| 4.5.4 | 2 | 2025/6/7 |
| 4.5.3 | 5 | 2025/6/10 |
| 4.5.2 | 1 | 2025/11/3 |
| 4.5.1 | 10 | 2025/6/10 |
| 4.0.8 | 2 | 2025/10/20 |
| 4.0.7 | 2 | 2025/6/8 |
| 4.0.6 | 4 | 2025/6/9 |
| 4.0.5 | 2 | 2025/6/8 |
| 4.0.4 | 2 | 2025/6/7 |
| 4.0.3 | 2 | 2025/6/7 |
| 4.0.2 | 1 | 2025/11/2 |
| 4.0.1 | 2 | 2025/6/7 |
| 3.5.8 | 7 | 2025/6/10 |