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 |
|---|---|
|
AlibabaCloud.EndpointUtil
Alibaba Cloud EndpointUtil for .NET
|
2,529 |
|
AlibabaCloud.OpenApiUtil
Alibaba Cloud OpenApiUtil SDK for .NET
|
571 |
|
AlibabaCloud.OpenApiUtil
Package Description
|
2,032 |
|
AlibabaCloud.SDK.Common
Alibaba Cloud Common SDK for .NET
|
2,035 |
|
AlibabaCloud.TeaXML
Alibaba Cloud TeaXML SDK for .NET
|
524 |
|
Aliyun.Credentials
Alibaba Cloud Credentials for net
|
2,073 |
|
Aliyun.SLS.SDK
Aliyun LogService SDK for .NET Core.
|
15,639 |
|
Baidu-AI
Official release of Baidu AI(http://ai.baidu.com) SDK, including Speech, Face, NLP, OCR, ImageClassify etc.
|
3,651 |
|
EasyNetQ
A nice .NET API for RabbitMQ
|
1,452 |
|
EasyNetQ.Management.Client
A .NET client for the RabbitMQ RESTful management API
|
1,448 |
|
Flurl.Http
A fluent, portable, testable HTTP client library.
|
13,771 |
|
itext.commons
Commons module
|
767 |
|
jos-net-open-api-sdk-core
京东物流 .NET Core SDK
|
713 |
|
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/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb
|
9,357 |
|
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/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb
|
9,594 |
|
Microsoft.Rest.ClientRuntime
Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest.
|
1,239 |
|
nacos-sdk-csharp
nacos csharp sdk
|
621 |
|
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
|
14,235 |
|
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
|
14,641 |
|
Pomelo.JsonObject
MySQL provider for Entity Framework Core
|
14,451 |
.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 | 31 | 09/16/2025 |
| 13.0.4-beta1 | 18 | 09/06/2025 |
| 13.0.3 | 786 | 03/14/2023 |
| 13.0.2 | 44 | 02/01/2023 |
| 12.0.1 | 120 | 06/06/2022 |
| 8.0.3 | 32 | 06/06/2022 |
| 8.0.1 | 30 | 05/02/2024 |
| 7.0.1 | 37 | 08/25/2022 |
| 6.0.8 | 39 | 06/06/2022 |
| 6.0.7 | 30 | 05/31/2024 |
| 6.0.6 | 49 | 06/06/2022 |
| 6.0.2 | 34 | 05/02/2024 |
| 5.0.8 | 35 | 12/04/2023 |
| 5.0.6 | 38 | 05/02/2024 |
| 5.0.3 | 32 | 05/22/2024 |
| 5.0.1 | 37 | 05/04/2024 |
| 4.5.10 | 31 | 05/31/2024 |
| 4.5.9 | 37 | 05/17/2024 |
| 4.5.8 | 29 | 05/02/2024 |
| 4.5.7 | 42 | 05/13/2024 |
| 4.5.6 | 33 | 04/28/2024 |
| 4.5.5 | 36 | 06/06/2022 |
| 4.5.3 | 36 | 05/01/2024 |
| 4.5.1 | 38 | 05/31/2024 |
| 4.0.7 | 33 | 04/28/2024 |
| 4.0.3 | 30 | 05/16/2024 |
| 4.0.1 | 33 | 05/02/2024 |
| 3.5.8 | 30 | 06/06/2022 |