C# Класс Newtonsoft.Json.Linq.JTokenReader

Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
Наследование: JsonReader, IJsonLineInfo
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetEndToken JsonToken?
IJsonLineInfo bool
ReadInto bool
ReadOver bool
ReadToEnd bool
SetEnd bool
SetToken void

Открытые методы

Метод Описание
JTokenReader ( JToken token ) : System

Initializes a new instance of the JTokenReader class.

Read ( ) : bool

Reads the next JSON token from the stream.

ReadAsBytes ( ) : byte[]

Reads the next JSON token from the stream as a T:Byte[].

Приватные методы

Метод Описание
GetEndToken ( JContainer c ) : JsonToken?
IJsonLineInfo ( ) : bool
ReadInto ( JContainer c ) : bool
ReadOver ( JToken t ) : bool
ReadToEnd ( ) : bool
SetEnd ( JContainer c ) : bool
SetToken ( JToken token ) : void

Описание методов

JTokenReader() публичный Метод

Initializes a new instance of the JTokenReader class.
public JTokenReader ( JToken token ) : System
token JToken The token to read from.
Результат System

Read() публичный Метод

Reads the next JSON token from the stream.
public Read ( ) : bool
Результат bool

ReadAsBytes() публичный Метод

Reads the next JSON token from the stream as a T:Byte[].
public ReadAsBytes ( ) : byte[]
Результат byte[]