Newtonsoft.Json 13.0.3

Logo Json.NET

NuGet version (Newtonsoft.Json) Build status

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"
//   ]
// }

Showing the top 20 packages that depend on Newtonsoft.Json.

Packages Downloads
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding. This package was built from the source code at https://github.com/aspnet/scaffolding/tree/a8a3c4d6bcef48a3dd464d03f629a0a18dbf3110
44
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
43
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
41
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
40
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
39
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding. This package was built from the source code at https://github.com/aspnet/scaffolding/tree/490b73570adfa270b11f4d340a6d871e5137ab25
38
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding.
38
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
37
Microsoft.AspNetCore.NodeServices
Invoke Node.js modules at runtime in ASP.NET Core applications. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/a4938d07a5127ffad8466ddf703a6b5b21f4b0c9
37
Microsoft.VisualStudio.Web.CodeGeneration.Utils
Contains utilities used by ASP.NET Core Code Generation packages.
36
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
36
Microsoft.AspNetCore.Mvc.ViewFeatures
ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent
35
Google.Apis
Google APIs Client Library (Contact me whenever new versions are available!)
35
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding.
35
NuGet.Packaging
NuGet's implementation for reading nupkg package and nuspec package specification files.
35
Google.Apis
The Google APIs Client Library is a runtime client for working with Google services. The library supports service requests, media upload and download, etc. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
34
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support - UWP (Universal Windows Platform)
34
Google.Apis.Auth
The Google APIs Client Library is a runtime client for working with Google services. This package includes auth components like user-credential, authorization code flow, etc. for making authenticated calls using the OAuth2 spec. Supported Platforms: - .NET Framework 4.5 and 4.6 - NetStandard1.3 - Windows 8 Apps - Windows Phone 8 and 8.1 - Portable Class Libraries
34
Google.Apis.Core
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on. Supported Platforms: - .NET Framework 4.5+ - NetStandard1.3, providing .NET Core support
34

.NET Framework 2.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET Standard 1.3

.NET Standard 1.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.3 24 5/17/2023
13.0.3-beta1 20 2/23/2023
13.0.2 17 11/30/2022
13.0.2-beta3 23 12/4/2022
13.0.2-beta2 30 9/15/2022
13.0.2-beta1 34 5/21/2022
13.0.1 26 6/27/2022
12.0.3 26 6/27/2022
12.0.2 26 5/21/2022
12.0.1 25 5/21/2022
11.0.2 19 6/27/2022
11.0.1 26 6/4/2022
10.0.3 38 6/7/2022
10.0.2 35 5/21/2022
10.0.1 18 6/27/2022
9.0.1 19 6/19/2022
8.0.3 23 6/27/2022
8.0.2 27 5/20/2022
8.0.1 32 6/11/2022
7.0.1 30 5/20/2022
6.0.8 22 5/20/2022
6.0.7 17 6/27/2022
6.0.6 29 6/27/2022
6.0.5 23 6/27/2022
6.0.4 28 5/21/2022
6.0.3 21 6/27/2022
6.0.2 20 6/7/2022
6.0.1 22 6/25/2022
5.0.8 24 5/28/2022
5.0.7 22 6/27/2022
5.0.6 25 6/11/2022
5.0.5 25 6/27/2022
5.0.4 26 6/27/2022
5.0.3 19 6/27/2022
5.0.2 20 6/27/2022
5.0.1 38 6/19/2022
4.5.11 21 6/27/2022
4.5.10 21 6/27/2022
4.5.9 23 6/27/2022
4.5.8 23 5/21/2022
4.5.7 28 6/27/2022
4.5.6 19 6/27/2022
4.5.5 24 6/27/2022
4.5.4 36 5/28/2022
4.5.3 21 5/21/2022
4.5.2 26 5/21/2022
4.5.1 30 5/20/2022
4.0.8 21 6/27/2022
4.0.7 29 6/27/2022
4.0.6 32 5/30/2022
4.0.5 19 6/27/2022
4.0.4 14 6/27/2022
4.0.3 28 5/21/2022
4.0.2 21 6/27/2022
4.0.1 23 5/21/2022
3.5.8 27 6/4/2022