Newtonsoft.Json 13.0.4

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
Atlassian.SDK
Utilities to interact with Atlassian products. Contains LinqToJira provider for querying JIRA Issue tracker (http://www.atlassian.com/software/jira).
17
IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
17
itext.commons
Commons module
16
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson
Implements the SignalR Hub Protocol using Newtonsoft.Json. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/8ca3954ca335343ce6dd1d14d8d1c6c3369710b7
20
Microsoft.DotNet.Scaffolding.Shared
Contains interfaces for Project Model and messaging for scaffolding.
18
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
18
Microsoft.IdentityModel.Protocols.OpenIdConnect
Includes types that provide support for OpenIdConnect protocol.
18
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
16
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
17
Microsoft.NET.Test.Sdk
The MSbuild targets and properties for building .NET test projects.
20
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
17
NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
17
NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
19
NuGet.RuntimeModel
NuGet v3 core library.
18
Telegram.Bot
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
16
Telegram.Bot
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
53
Yandex.Checkout.V3
This library simplifies integration with YooMoney/YooKassa (formerly Yandex.Money / Yandex.Checkout). YooMoney is a payment gateway owned by Sberbank, Russia. The libary offers both sync and async APIs and supports a wide range of .NET versions from .NET Framework 4.0 to .NET Core and .NET 8.
21
Yandex.Checkout.V3
Yandex Checkout .NET Client
17

.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

.NET Standard 1.3

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
13.0.4 4 11.10.2025
13.0.4-beta1 5 06.08.2025
13.0.3 18 18.07.2024
13.0.2 18 26.06.2024
13.0.1 23 04.07.2024
12.0.3 14 18.02.2025
12.0.2 15 26.07.2024
12.0.1 16 27.02.2025
11.0.2 17 23.02.2025
11.0.1 16 25.02.2025
10.0.3 16 26.07.2024
10.0.2 16 26.07.2024
10.0.1 17 26.07.2024
9.0.1 21 27.02.2025
8.0.3 11 21.02.2025
8.0.2 14 26.07.2024
8.0.1 12 27.02.2025
7.0.1 12 25.02.2025
6.0.8 13 26.07.2024
6.0.7 16 19.07.2024
6.0.6 16 26.07.2024
6.0.5 14 02.11.2024
6.0.4 18 26.07.2024
6.0.3 12 26.07.2024
6.0.2 14 26.07.2024
6.0.1 16 26.07.2024
5.0.8 12 22.02.2025
5.0.7 14 26.07.2024
5.0.6 11 18.02.2025
5.0.5 14 22.02.2025
5.0.4 16 26.07.2024
5.0.3 15 27.07.2024
5.0.2 13 27.02.2025
5.0.1 14 19.02.2025
4.5.11 12 26.07.2024
4.5.10 11 09.03.2025
4.5.9 12 19.02.2025
4.5.8 12 26.02.2025
4.5.7 14 26.07.2024
4.5.6 12 26.07.2024
4.5.5 15 26.02.2025
4.5.4 14 26.07.2024
4.5.3 11 26.02.2025
4.5.2 13 26.02.2025
4.5.1 12 01.03.2025
4.0.8 10 27.02.2025
4.0.7 15 25.07.2024
4.0.6 16 06.03.2025
4.0.5 13 11.03.2025
4.0.4 12 26.07.2024
4.0.3 11 27.02.2025
4.0.2 12 26.07.2024
4.0.1 13 06.03.2025
3.5.8 13 27.07.2024