Newtonsoft.Json 13.0.5-beta1
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 |
|---|---|
|
Consul
Consul.NET is a .NET client library for the Consul HTTP API
|
19 |
|
EasyNetQ
A nice .NET API for RabbitMQ
|
26 |
|
IdentityModel
OpenID Connect & OAuth 2.0 client library
|
17 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
19 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
24 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
31 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
41 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
51 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
52 |
|
JQ.Common.Entity
用于HIS2.0系统的公共基类
|
53 |
|
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
|
18 |
|
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
|
29 |
|
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
|
47 |
|
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
|
54 |
|
Microsoft.AspNetCore.JsonPatch
ASP.NET Core support for JSON PATCH.
This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/509f6badec2f3162f0e50330cd9107e5624b379b
|
19 |
|
Microsoft.IdentityModel.Protocols.OpenIdConnect
Includes types that provide support for OpenIdConnect protocol.
|
17 |
|
Microsoft.IdentityModel.Tokens
Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.
|
18 |
|
WebApiClient.JIT
一款基于HttpClient封装,只需要定义c#接口并修饰相关特性,即可异步调用远程http接口的客户端库
|
20 |
.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.5-beta1 | 1 | 2026/4/8 |
| 13.0.4 | 3 | 2026/2/3 |
| 13.0.3 | 7 | 2025/2/28 |
| 13.0.2 | 9 | 2025/3/17 |
| 13.0.1 | 4 | 2025/3/1 |
| 12.0.3 | 18 | 2024/11/18 |
| 12.0.2 | 22 | 2025/2/12 |
| 12.0.1 | 17 | 2024/12/9 |
| 11.0.2 | 11 | 2025/2/26 |
| 11.0.1 | 2 | 2025/11/28 |
| 10.0.3 | 15 | 2025/2/12 |
| 10.0.2 | 7 | 2025/3/3 |
| 10.0.1 | 15 | 2025/2/26 |
| 9.0.1 | 16 | 2024/8/12 |
| 8.0.3 | 3 | 2025/8/14 |
| 8.0.2 | 1 | 2026/4/8 |
| 8.0.1 | 1 | 2026/4/8 |
| 7.0.1 | 1 | 2026/4/8 |
| 6.0.8 | 1 | 2026/4/8 |
| 6.0.7 | 1 | 2026/4/8 |
| 6.0.6 | 1 | 2026/4/8 |
| 6.0.5 | 1 | 2026/4/8 |
| 6.0.4 | 1 | 2026/4/8 |
| 6.0.3 | 1 | 2026/4/8 |
| 6.0.2 | 1 | 2026/4/8 |
| 6.0.1 | 1 | 2026/4/8 |
| 5.0.8 | 1 | 2026/4/8 |
| 5.0.7 | 1 | 2026/4/8 |
| 5.0.6 | 1 | 2026/4/8 |
| 5.0.5 | 1 | 2026/4/8 |
| 5.0.4 | 1 | 2026/4/8 |
| 5.0.3 | 1 | 2026/4/8 |
| 5.0.2 | 1 | 2026/4/8 |
| 5.0.1 | 2 | 2025/2/14 |
| 4.5.11 | 0 | 2012/11/20 |
| 4.5.10 | 0 | 2012/10/7 |
| 4.5.9 | 0 | 2012/9/8 |
| 4.5.8 | 1 | 2026/4/8 |
| 4.5.7 | 1 | 2026/4/8 |
| 4.5.6 | 1 | 2026/4/8 |
| 4.5.5 | 1 | 2026/4/8 |
| 4.5.4 | 1 | 2026/4/8 |
| 4.5.3 | 1 | 2026/4/8 |
| 4.5.2 | 1 | 2026/4/8 |
| 4.5.1 | 1 | 2026/4/8 |
| 4.0.8 | 2 | 2026/4/8 |
| 4.0.7 | 1 | 2026/4/8 |
| 4.0.6 | 1 | 2026/4/8 |
| 4.0.5 | 1 | 2026/4/8 |
| 4.0.4 | 1 | 2026/4/8 |
| 4.0.3 | 1 | 2026/4/8 |
| 4.0.2 | 1 | 2026/4/8 |
| 4.0.1 | 1 | 2026/4/8 |
| 3.5.8 | 1 | 2026/4/8 |