Table of Contents

Namespace Cuemon.Extensions.Newtonsoft.Json

Assembly: Cuemon.Extensions.Newtonsoft.Json.dll

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.

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Complements: Newtonsoft.Json namespace 🔗

Extension Methods

Type Ext Methods
JDataResult ⬇️ Flatten, ExtractArrayValues, ExtractObjectValues
JsonReader ⬇️ ToHierarchy
JsonSerializerSettings ⬇️ ApplyToDefaultSettings
JsonWriter ⬇️ WriteObject, WritePropertyName
Validator ⬇️ InvalidJsonDocument

Classes

DynamicContractResolver

Provides a factory based way to create and wrap an Newtonsoft.Json.Serialization.IContractResolver implementation.

DynamicJsonConverter

Provides a factory based way to create and wrap an Newtonsoft.Json.JsonConverter implementation.

JData

Provides a factory based way to parse and extract values from various sources of JSON data. Compliant with RFC 7159 as it uses Newtonsoft.Json.JsonTextReader behind the scene.

JDataResult

Specifies a result set of a JSON reader operation.

JDataResultExtensions

Extension methods for the JDataResult class.

JsonReaderExtensions

Extension methods for the Newtonsoft.Json.JsonReader class.

JsonSerializerSettingsExtensions

Extension methods for the Newtonsoft.Json.JsonSerializerSettings class.

JsonWriterExtensions

Extension methods for the Newtonsoft.Json.JsonWriter.

ValidatorExtensions

Extension methods for the Validator class.