Class JsonTextReader
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public class JsonTextReader : Newtonsoft.Json.JsonReader, Newtonsoft.Json.IJsonLineInfo
Constructors
JsonTextReader(TextReader)
Properties
ArrayPool
Declaration
public Newtonsoft.Json.IArrayPool<char> ArrayPool { get; set; }
Property Value
IArrayPool<Char>
|
LineNumber
LinePosition
Methods
Close()
Declaration
public override void Close ();
HasLineInfo()
Read()
ReadAsBoolean()
ReadAsBooleanAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<bool>> ReadAsBooleanAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<Boolean>>
|
ReadAsBytes()
ReadAsBytesAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<byte[]> ReadAsBytesAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Byte[]>
|
ReadAsDateTime()
ReadAsDateTimeAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<DateTime>> ReadAsDateTimeAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<DateTime>>
|
ReadAsDateTimeOffset()
Declaration
public override Nullable<DateTimeOffset> ReadAsDateTimeOffset ();
Returns
Nullable<DateTimeOffset>
|
ReadAsDateTimeOffsetAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<DateTimeOffset>> ReadAsDateTimeOffsetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<DateTimeOffset>>
|
ReadAsDecimal()
ReadAsDecimalAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<decimal>> ReadAsDecimalAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<Decimal>>
|
ReadAsDouble()
ReadAsDoubleAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<double>> ReadAsDoubleAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<Double>>
|
ReadAsInt32()
ReadAsInt32Async(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<Nullable<int>> ReadAsInt32Async (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Nullable<Int32>>
|
ReadAsString()
ReadAsStringAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<string> ReadAsStringAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<String>
|
ReadAsync(CancellationToken)
Declaration
public override System.Threading.Tasks.Task<bool> ReadAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<Boolean>
|