C# Class Newtonsoft.Json.Linq.JTokenReader

Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
Inheritance: JsonReader, IJsonLineInfo
Show file Open project: runegri/Applicable Class Usage Examples

Private Properties

Property Type Description
GetEndToken JsonToken?
IJsonLineInfo bool
ReadInto bool
ReadOver bool
ReadToEnd bool
SetEnd bool
SetToken void

Public Methods

Method Description
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[].

Private Methods

Method Description
GetEndToken ( JContainer c ) : JsonToken?
IJsonLineInfo ( ) : bool
ReadInto ( JContainer c ) : bool
ReadOver ( JToken t ) : bool
ReadToEnd ( ) : bool
SetEnd ( JContainer c ) : bool
SetToken ( JToken token ) : void

Method Details

JTokenReader() public method

Initializes a new instance of the JTokenReader class.
public JTokenReader ( JToken token ) : System
token JToken The token to read from.
return System

Read() public method

Reads the next JSON token from the stream.
public Read ( ) : bool
return bool

ReadAsBytes() public method

Reads the next JSON token from the stream as a T:Byte[].
public ReadAsBytes ( ) : byte[]
return byte[]