JsonTextReader Methods |
The JsonTextReader type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Changes the reader's state to Closed.
If CloseInput is set to true, the underlying TextReader is also closed.
(Overrides JsonReaderClose.) | |
| Dispose |
Releases unmanaged and - optionally - managed resources.
(Inherited from JsonReader.) | |
| 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.) | |
| HasLineInfo |
Gets a value indicating whether the class can return line information.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Read |
Reads the next JSON token from the underlying TextReader.
(Overrides JsonReaderRead.) | |
| ReadAsBoolean | (Overrides JsonReaderReadAsBoolean.) | |
| ReadAsBooleanAsync | (Overrides JsonReaderReadAsBooleanAsync(CancellationToken).) | |
| ReadAsBytes |
Reads the next JSON token from the underlying TextReader as a Byte[].
(Overrides JsonReaderReadAsBytes.) | |
| ReadAsBytesAsync |
Asynchronously reads the next JSON token from the source as a Byte[].
(Overrides JsonReaderReadAsBytesAsync(CancellationToken).) | |
| ReadAsDateTime | (Overrides JsonReaderReadAsDateTime.) | |
| ReadAsDateTimeAsync | (Overrides JsonReaderReadAsDateTimeAsync(CancellationToken).) | |
| ReadAsDateTimeOffset | (Overrides JsonReaderReadAsDateTimeOffset.) | |
| ReadAsDateTimeOffsetAsync |
Asynchronously reads the next JSON token from the source as a NullableT of DateTimeOffset.
(Overrides JsonReaderReadAsDateTimeOffsetAsync(CancellationToken).) | |
| ReadAsDecimal | (Overrides JsonReaderReadAsDecimal.) | |
| ReadAsDecimalAsync | (Overrides JsonReaderReadAsDecimalAsync(CancellationToken).) | |
| ReadAsDouble | (Overrides JsonReaderReadAsDouble.) | |
| ReadAsDoubleAsync | (Overrides JsonReaderReadAsDoubleAsync(CancellationToken).) | |
| ReadAsInt32 | (Overrides JsonReaderReadAsInt32.) | |
| ReadAsInt32Async | (Overrides JsonReaderReadAsInt32Async(CancellationToken).) | |
| ReadAsString |
Reads the next JSON token from the underlying TextReader as a String.
(Overrides JsonReaderReadAsString.) | |
| ReadAsStringAsync |
Asynchronously reads the next JSON token from the source as a String.
(Overrides JsonReaderReadAsStringAsync(CancellationToken).) | |
| ReadAsync |
Asynchronously reads the next JSON token from the source.
(Overrides JsonReaderReadAsync(CancellationToken).) | |
| SetStateBasedOnCurrent |
Sets the state based on current token type.
(Inherited from JsonReader.) | |
| SetToken(JsonToken) |
Sets the current token.
(Inherited from JsonReader.) | |
| SetToken(JsonToken, Object) |
Sets the current token and value.
(Inherited from JsonReader.) | |
| SetToken(JsonToken, Object, Boolean) |
Sets the current token and value.
(Inherited from JsonReader.) | |
| Skip |
Skips the children of the current token.
(Inherited from JsonReader.) | |
| SkipAsync |
Asynchronously skips the children of the current token.
(Inherited from JsonReader.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |