Table of Contents

Class JsonReaderExtensions

Namespace
Cuemon.Extensions.Newtonsoft.Json
Assembly
Cuemon.Extensions.Newtonsoft.Json.dll

Extension methods for the Newtonsoft.Json.JsonReader class.

public static class JsonReaderExtensions
Inheritance
Object
JsonReaderExtensions

Methods

ToHierarchy(JsonReader)

Converts the JSON hierarchy of an Newtonsoft.Json.JsonReader into an IHierarchy<T>.

public static IHierarchy<DataPair> ToHierarchy(this JsonReader reader)

Parameters

reader JsonReader

The reader to convert.

Returns

IHierarchy<DataPair>

An IHierarchy<T> implementation that uses DataPair.