![]() | JsonReader Class |
Namespace: Newtonsoft.Json
public abstract class JsonReader : IDisposable
The JsonReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | JsonReader |
Initializes a new instance of the JsonReader class.
|
Name | Description | |
---|---|---|
![]() | CloseInput |
Gets or sets a value indicating whether the source should be closed when this reader is closed.
|
![]() | Culture |
Gets or sets the culture used when reading JSON. Defaults to InvariantCulture.
|
![]() | CurrentState |
Gets the current reader state.
|
![]() | DateFormatString |
Gets or sets how custom date formatted strings are parsed when reading JSON.
|
![]() | DateParseHandling |
Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
|
![]() | DateTimeZoneHandling |
Gets or sets how DateTime time zones are handled when reading JSON.
|
![]() | Depth |
Gets the depth of the current token in the JSON document.
|
![]() | FloatParseHandling |
Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
|
![]() | MaxDepth |
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException.
|
![]() | Path |
Gets the path of the current JSON token.
|
![]() | QuoteChar |
Gets the quotation mark character used to enclose the value of a string.
|
![]() | SupportMultipleContent |
Gets or sets a value indicating whether multiple pieces of JSON content can
be read from a continuous stream without erroring.
|
![]() | TokenType |
Gets the type of the current JSON token.
|
![]() | Value |
Gets the text value of the current JSON token.
|
![]() | ValueType |
Gets the .NET type for the current JSON token.
|
Name | Description | |
---|---|---|
![]() | Close | |
![]() | Dispose |
Releases unmanaged and - optionally - managed resources.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Read |
Reads the next JSON token from the source.
|
![]() | ReadAsBoolean | |
![]() | ReadAsBooleanAsync | |
![]() | ReadAsBytes |
Reads the next JSON token from the source as a Byte[].
|
![]() | ReadAsBytesAsync |
Asynchronously reads the next JSON token from the source as a Byte[].
|
![]() | ReadAsDateTime | |
![]() | ReadAsDateTimeAsync | |
![]() | ReadAsDateTimeOffset |
Reads the next JSON token from the source as a NullableT of DateTimeOffset.
|
![]() | ReadAsDateTimeOffsetAsync |
Asynchronously reads the next JSON token from the source as a NullableT of DateTimeOffset.
|
![]() | ReadAsDecimal | |
![]() | ReadAsDecimalAsync | |
![]() | ReadAsDouble | |
![]() | ReadAsDoubleAsync | |
![]() | ReadAsInt32 | |
![]() | ReadAsInt32Async | |
![]() | ReadAsString |
Reads the next JSON token from the source as a String.
|
![]() | ReadAsStringAsync |
Asynchronously reads the next JSON token from the source as a String.
|
![]() | ReadAsync |
Asynchronously reads the next JSON token from the source.
|
![]() | SetStateBasedOnCurrent |
Sets the state based on current token type.
|
![]() | SetToken(JsonToken) |
Sets the current token.
|
![]() | SetToken(JsonToken, Object) |
Sets the current token and value.
|
![]() | SetToken(JsonToken, Object, Boolean) |
Sets the current token and value.
|
![]() | Skip |
Skips the children of the current token.
|
![]() | SkipAsync |
Asynchronously skips the children of the current token.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |