Cuemon.Extensions.Newtonsoft.Json 6.2.0

The Cuemon.Extensions.Newtonsoft.Json namespace contains both types and extension methods that complements the Newtonsoft.Json namespace by adding new ways of working with JSON; both in terms of serialization and parsing.

Install-Package Cuemon.Extensions.Newtonsoft.Json -Version 6.2.0
dotnet add package Cuemon.Extensions.Newtonsoft.Json --version 6.2.0
<PackageReference Include="Cuemon.Extensions.Newtonsoft.Json" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.Extensions.Newtonsoft.Json --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cuemon.Extensions.Newtonsoft.Json, 6.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cuemon.Extensions.Newtonsoft.Json as a Cake Addin
#addin nuget:?package=Cuemon.Extensions.Newtonsoft.Json&version=6.2.0

// Install Cuemon.Extensions.Newtonsoft.Json as a Cake Tool
#tool nuget:?package=Cuemon.Extensions.Newtonsoft.Json&version=6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version: 6.0.0
Availability: NET Standard 2.0, NET 5.0
 
# Upgrade Steps
- The Cuemon.Serialization.Json namespace was removed with this version
- Any types found in the Cuemon.Serialization.Json namespace was merged into the Cuemon.Extensions.Newtonsoft.Json namespace
 
# Breaking Changes
- REMOVED JsonReaderParser class from the Cuemon.Extensions.Newtonsoft.Json namespace
- RENAMED JsonReaderResult class in the Cuemon.Extensions.Newtonsoft.Json namespace to JDataResult (including some refactoring)
- REMOVED JsonReaderResultExtensions class from the Cuemon.Extensions.Newtonsoft.Json namespace
 
# New Features
- CHANGED StringFlagsEnumConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to comply with Newtonsoft.Json.Serialization.NamingStrategy implementations
- ADDED ExceptionDescriptorExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Diagnostics namespace that consist of extension methods for the ExceptionDescriptor class: ToInsightsJsonString
- EXTENDED JsonFormatterOptions class in the Cuemon.Extensions.Newtonsoft.Json namespace with several new options and a uniform way of adding default converters
- ADDED JData class in the Cuemon.Extensions.Newtonsoft.Json namespace that provides a factory based way to parse and extract values from various sources of JSON data. Compliant with RFC 7159 as it uses JsonTextReader behind the scene
- ADDED JDataResultExtensions class in the Cuemon.Extensions.Newtonsoft.Json namespace that consist of extension methods for the JDataResult class: ExtractArrayValues, ExtractObjectValues
- ADDED ValidatorExtensions class in the Cuemon.Extensions.Newtonsoft.Json namespace that consist of extension methods for the Validator class: InvalidJsonDocument
- ADDED ContractResolverExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Serialization namespace that consist of extension methods for the IContractResolver interface: ResolveNamingStrategyOrDefault
 
# Improvements
- CHANGED JsonConverterCollectionExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to fully support whatever desired naming strategy wanted while simplifying the code greatly
- CHANGED StringFlagsEnumConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to fully support whatever desired naming strategy wanted while simplifying the code greatly
- CHANGED DynamicJsonConverter class in the Cuemon.Extensions.Newtonsoft.Json namespace to fully support whatever desired naming strategy wanted while being significantly more versatile in usage
- CHANGED JsonWriterExtensions class in the Cuemon.Extensions.Newtonsoft.Json namespace to fully support whatever desired naming strategy wanted while simplifying the code greatly
 
# Quality Analysis Actions
- JUSTIFIED https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2200 on ValidatorExtensions class in the Cuemon.Extensions.Newtonsoft.Json namespace
- CHANGED JsonReaderExtensions class in the Cuemon.Extensions.Newtonsoft.Json namespace to have 0 duplicated blocks of lines of code
- CHANGED JsonConverterCollectionExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to have 0 duplicated blocks of lines of code

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Cuemon.Extensions.Newtonsoft.Json:

Package Downloads
Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json
The Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace contains both types and extension methods that complements the Cuemon.Extensions.Newtonsoft.Json namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides JSON formatters for ASP.NET Core that is powered by Newtonsoft.Json.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
6.2.0 145 5/30/2021
6.1.0 91 5/16/2021
6.0.1 74 5/3/2021
6.0.1-rc 80 5/3/2021
6.0.0 146 4/18/2021
6.0.0-rc.23 61 4/18/2021
6.0.0-rc.21 38 4/12/2021
6.0.0-rc.20 52 4/1/2021
6.0.0-rc.18 137 3/22/2021
6.0.0-rc.17 48 3/14/2021
6.0.0-rc.16 78 3/7/2021
6.0.0-rc.15 67 3/4/2021
6.0.0-rc.14 84 3/4/2021
6.0.0-rc.12 93 3/3/2021
6.0.0-rc.6 65 2/28/2021
6.0.0-rc.2 72 2/28/2021