Newtonsoft.Json 13.0.3-beta1

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
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
116
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
107
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
106
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
105
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
103
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
101
NuGet.Protocol.Core.v3
NuGet Protocol for 3.1.0 servers
100
NuGet.RuntimeModel
NuGet v3 core library.
99
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
98
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
98
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
98
Newtonsoft.Json.Bson
Json.NET BSON adds support for reading and writing BSON
97
Microsoft.VisualStudio.Web.CodeGeneration.Contracts
Contains interfaces for Project Model and messaging for scaffolding.
96
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
95
NuGet.Packaging
NuGet's implementation for reading nupkg package and nuspec package specification files.
95
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
95
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
94
NuGet.Packaging
NuGet's implementation for reading nupkg package and nuspec package specification files.
94
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 - Windows Store apps - Windows Phone 8 and 8.1 - Portable Class Libraries
93

.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.4-beta1 1 8/1/2025
13.0.3 103 5/17/2023
13.0.3-beta1 87 2/23/2023
13.0.2 82 11/30/2022
13.0.2-beta3 84 12/4/2022
13.0.2-beta2 74 9/15/2022
13.0.2-beta1 84 5/21/2022
13.0.1 86 6/27/2022
12.0.3 72 6/27/2022
12.0.2 76 5/21/2022
12.0.1 70 5/21/2022
11.0.2 64 6/27/2022
11.0.1 106 6/4/2022
10.0.3 95 6/7/2022
10.0.2 89 5/21/2022
10.0.1 70 6/27/2022
9.0.1 49 6/19/2022
8.0.3 77 6/27/2022
8.0.2 71 5/20/2022
8.0.1 79 6/11/2022
7.0.1 77 5/20/2022
6.0.8 68 5/20/2022
6.0.7 82 6/27/2022
6.0.6 97 6/27/2022
6.0.5 69 6/27/2022
6.0.4 98 5/21/2022
6.0.3 87 6/27/2022
6.0.2 67 6/7/2022
6.0.1 68 6/25/2022
5.0.8 87 5/28/2022
5.0.7 66 6/27/2022
5.0.6 72 6/11/2022
5.0.5 85 6/27/2022
5.0.4 75 6/27/2022
5.0.3 69 6/27/2022
5.0.2 70 6/27/2022
5.0.1 107 6/19/2022
4.5.11 70 6/27/2022
4.5.10 67 6/27/2022
4.5.9 71 6/27/2022
4.5.8 95 5/21/2022
4.5.7 90 6/27/2022
4.5.6 69 6/27/2022
4.5.5 76 6/27/2022
4.5.4 87 5/28/2022
4.5.3 71 5/21/2022
4.5.2 106 5/21/2022
4.5.1 81 5/20/2022
4.0.8 92 6/27/2022
4.0.7 77 6/27/2022
4.0.6 104 5/30/2022
4.0.5 83 6/27/2022
4.0.4 60 6/27/2022
4.0.3 80 5/21/2022
4.0.2 66 6/27/2022
4.0.1 90 5/21/2022
3.5.8 79 6/4/2022