Info
Version: | 3.5.0 |
Author(s): | Nicholas Petersen |
Last Update: | Wednesday, March 9, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/copernicus365/DotNetXtensions/tree/master/DotNetXtensions.Json |
NuGet Url: | https://www.nuget.org/packages/DotNetXtensions.Json |
Install
Install-Package DotNetXtensions.Json
dotnet add package DotNetXtensions.Json
paket add DotNetXtensions.Json
DotNetXtensions.Json Download (Unzip the "nupkg" after downloading)
Dependencies
- DotNetXtensions(>= 4.0.0)
- Newtonsoft.Json(>= 12.0.2)
Tags
JsonConverters). Most important is the extension method on objects exposting a useful `ToJson` extension method, which allows one to serialize any object to Json with a single call, while being able to specify whether to indent, to camel-case property names, to serialize enums as strings, and etc.
On the other end exposes a DeserializeJson extension method on strings and byte arrays.
Nothing earth-shattering here, but helps those cases where you want quick and no-nonsense JSON serialization / deserialization.