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.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|
299 |
|
KavenegarDotNetCore
A cross-platform library for the kavenegar sms provider; written in C#
|
283 |
|
NJsonSchema
JSON Schema reader, generator and validator for .NET
|
59 |
|
NJsonSchema.NewtonsoftJson
JSON Schema reader, generator and validator for .NET
|
59 |
|
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|
38 |
|
Aspire.Hosting.AppHost
Core library and MSBuild logic for .NET Aspire AppHost projects.
|
24 |
|
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
|
23 |
|
StreamJsonRpc
A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport.
|
23 |
|
Microsoft.VisualStudio.Web.CodeGeneration.Design
Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.
|
20 |
|
Microsoft.DotNet.Scaffolding.Shared
Contains interfaces for Project Model and messaging for scaffolding.
|
20 |
|
NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
|
20 |
|
Microsoft.VisualStudio.Web.CodeGenerators.Mvc
Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views.
|
20 |
|
Microsoft.VisualStudio.Web.CodeGeneration
Contains the CodeGenCommand that finds the appropriate code generator and invokes it from project dependencies.
|
19 |
|
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
|
18 |
|
Microsoft.VisualStudio.Web.CodeGeneration.Core
Contains the core infrastructure used by ASP.NET Core Code Generators.
|
18 |
|
Microsoft.VisualStudio.Web.CodeGeneration.Templating
Contains Razor based templating host used by ASP.NET Core Code Generators.
|
18 |
|
Microsoft.VisualStudio.Web.CodeGeneration.Utils
Contains utilities used by ASP.NET Core Code Generation packages.
|
18 |
|
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
|
15 |
|
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|
15 |
|
Hangfire.Core
An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks inside ASP.NET applications. No Windows Service / Task Scheduler required. Even ASP.NET is not required.
Backed by Redis, SQL Server, SQL Azure or MSMQ. This is a .NET alternative to Sidekiq, Resque and Celery.
https://www.hangfire.io/
|
15 |
.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.4 | 12 | 10/24/2025 |
| 13.0.3 | 95 | 10/02/2025 |
| 13.0.2 | 283 | 09/16/2025 |
| 13.0.1 | 320 | 09/16/2025 |
| 12.0.3 | 0 | 11/09/2019 |
| 12.0.2 | 0 | 04/22/2019 |
| 12.0.1 | 0 | 11/27/2018 |
| 11.0.2 | 0 | 03/24/2018 |
| 11.0.1 | 15 | 10/02/2025 |
| 10.0.3 | 0 | 06/18/2017 |
| 10.0.2 | 0 | 04/02/2017 |
| 10.0.1 | 0 | 03/20/2017 |
| 9.0.1 | 15 | 10/02/2025 |
| 8.0.3 | 0 | 03/14/2016 |
| 8.0.2 | 0 | 01/09/2016 |
| 8.0.1 | 0 | 12/29/2015 |
| 7.0.1 | 0 | 06/22/2015 |
| 6.0.8 | 0 | 01/11/2015 |
| 6.0.7 | 0 | 12/23/2014 |
| 6.0.6 | 0 | 10/24/2014 |
| 6.0.5 | 0 | 09/06/2014 |
| 6.0.4 | 0 | 08/03/2014 |
| 6.0.3 | 0 | 04/27/2014 |
| 6.0.2 | 0 | 03/30/2014 |
| 6.0.1 | 0 | 02/01/2014 |
| 5.0.8 | 0 | 10/17/2013 |
| 5.0.7 | 0 | 10/14/2013 |
| 5.0.6 | 0 | 06/06/2013 |
| 5.0.5 | 0 | 05/08/2013 |
| 5.0.4 | 0 | 04/25/2013 |
| 5.0.3 | 0 | 04/14/2013 |
| 5.0.2 | 0 | 04/08/2013 |
| 5.0.1 | 0 | 04/07/2013 |
| 4.5.11 | 0 | 11/20/2012 |
| 4.5.10 | 0 | 10/07/2012 |
| 4.5.9 | 0 | 09/08/2012 |
| 4.5.8 | 0 | 08/04/2012 |
| 4.5.7 | 0 | 06/09/2012 |
| 4.5.6 | 0 | 05/30/2012 |
| 4.5.5 | 0 | 05/08/2012 |
| 4.5.4 | 0 | 04/24/2012 |
| 4.5.3 | 0 | 04/13/2012 |
| 4.5.2 | 0 | 04/11/2012 |
| 4.5.1 | 0 | 03/20/2012 |
| 4.0.8 | 0 | 02/12/2012 |
| 4.0.7 | 0 | 01/24/2012 |
| 4.0.6 | 0 | 01/23/2012 |
| 4.0.5 | 0 | 12/10/2011 |
| 4.0.4 | 0 | 11/19/2011 |
| 4.0.3 | 0 | 10/02/2011 |
| 4.0.2 | 0 | 04/23/2011 |
| 4.0.1 | 0 | 04/22/2011 |
| 3.5.8 | 0 | 01/08/2011 |