Newtonsoft.Json 13.0.3
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 |
---|---|
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
|
689 |
Aiursoft.AiurProtocol.Abstractions
API Communication practice
|
613 |
Aiursoft.DocGenerator
A tool for generating document for ASP.NET Core.
|
582 |
Microsoft.Azure.CognitiveServices.Search.WebSearch
This client library provides access to the Microsoft Cognitive Services Web Search API.
|
381 |
Microsoft.Rest.ClientRuntime
Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest.
|
372 |
Microsoft.Rest.ClientRuntime.Azure
Provides common error handling, tracing, and HTTP/REST-based pipeline manipulation.
|
371 |
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|
363 |
AspNetCoreRateLimit
ASP.NET Core rate limiting middleware
|
292 |
WebPush
Web Push library for C#
|
235 |
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|
233 |
Microsoft.TeamFoundationServer.Client
Integrate with Azure DevOps Server and Azure DevOps Services from desktop-based, ASP.NET, and other Windows applications. Provides access to version control, work item tracking, build, and more via public REST APIs.
|
197 |
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
|
197 |
Microsoft.AspNet.WebApi.Client
This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.
|
195 |
Microsoft.VisualStudio.Services.Client
Integrate with Azure DevOps Server 2022 and Azure DevOps Services from desktop-based, ASP.NET, and other Windows applications. Provides access to shared platform services such as account, profile, identity, security, and more via public REST APIs.
|
195 |
Aiursoft.AiurProtocol.Abstractions
API Communication practice
|
173 |
Aiursoft.DocGenerator
A tool for generating document for ASP.NET Core.
|
170 |
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/0a715692d8e2536c899faa0bb4f0cec2c2e33e36
|
170 |
Microsoft.Azure.CognitiveServices.Search.EntitySearch
This client library provides access to the Microsoft Cognitive Services Entity Search API.
|
169 |
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/0a715692d8e2536c899faa0bb4f0cec2c2e33e36
|
169 |
Aiursoft.AiurStore
Nuget package of 'AiurStore' provided by Aiursoft
|
167 |
.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
- Microsoft.CSharp (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
.NET Standard 1.3
- Microsoft.CSharp (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Runtime.Serialization.Formatters (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Xml.XmlDocument (>= 4.3.0)
.NET 6.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
Version | Downloads | Last updated |
---|---|---|
13.0.3 | 763 | 03/25/2024 |
13.0.2 | 325 | 03/26/2024 |
13.0.1 | 624 | 03/25/2024 |
12.0.3 | 5 | 04/25/2024 |
12.0.2 | 6 | 04/25/2024 |
12.0.1 | 6 | 04/25/2024 |
11.0.2 | 7 | 04/25/2024 |
11.0.1 | 8 | 04/04/2024 |
10.0.3 | 542 | 03/25/2024 |
10.0.2 | 6 | 04/25/2024 |
10.0.1 | 11 | 04/25/2024 |
9.0.1 | 7 | 04/25/2024 |
8.0.3 | 7 | 04/03/2024 |
8.0.2 | 6 | 04/25/2024 |
8.0.1 | 7 | 04/25/2024 |
7.0.1 | 6 | 04/25/2024 |
6.0.8 | 5 | 04/25/2024 |
6.0.7 | 13 | 03/26/2024 |
6.0.6 | 7 | 04/01/2024 |
6.0.5 | 8 | 04/03/2024 |
6.0.4 | 6 | 04/25/2024 |
6.0.3 | 7 | 04/25/2024 |
6.0.2 | 12 | 04/25/2024 |
6.0.1 | 6 | 04/25/2024 |
5.0.8 | 6 | 04/25/2024 |
5.0.7 | 6 | 04/25/2024 |
5.0.6 | 11 | 04/25/2024 |
5.0.5 | 5 | 04/25/2024 |
5.0.4 | 7 | 04/14/2024 |
5.0.3 | 12 | 04/25/2024 |
5.0.2 | 9 | 04/24/2024 |
5.0.1 | 8 | 04/25/2024 |
4.5.11 | 5 | 04/25/2024 |
4.5.10 | 6 | 04/25/2024 |
4.5.9 | 6 | 04/12/2024 |
4.5.8 | 5 | 04/25/2024 |
4.5.7 | 7 | 05/28/2024 |
4.5.6 | 5 | 04/25/2024 |
4.5.5 | 3 | 04/25/2024 |
4.5.4 | 5 | 04/25/2024 |
4.5.3 | 8 | 04/25/2024 |
4.5.2 | 7 | 04/25/2024 |
4.5.1 | 6 | 04/25/2024 |
4.0.8 | 9 | 04/25/2024 |
4.0.7 | 5 | 04/03/2024 |
4.0.6 | 8 | 04/06/2024 |
4.0.5 | 5 | 04/19/2024 |
4.0.4 | 5 | 04/25/2024 |
4.0.3 | 7 | 04/25/2024 |
4.0.2 | 6 | 04/25/2024 |
4.0.1 | 7 | 04/02/2024 |
3.5.8 | 12 | 04/19/2024 |