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
-
ObjectJsonReaderExtensions
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
JsonReaderThe reader to convert.
Returns
- IHierarchy<DataPair>
An IHierarchy<T> implementation that uses DataPair.