Click or drag to resize
Json.NET

JsonTextReader Methods

 

The JsonTextReader type exposes the following members.

Methods
  NameDescription
Public methodClose
Changes the reader's state to Closed. If CloseInput is set to true, the underlying TextReader is also closed.
(Overrides JsonReaderClose.)
Protected methodDispose
Releases unmanaged and - optionally - managed resources.
(Inherited from JsonReader.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasLineInfo
Gets a value indicating whether the class can return line information.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Reads the next JSON token from the underlying TextReader.
(Overrides JsonReaderRead.)
Public methodReadAsBoolean (Overrides JsonReaderReadAsBoolean.)
Public methodReadAsBooleanAsync (Overrides JsonReaderReadAsBooleanAsync(CancellationToken).)
Public methodReadAsBytes
Reads the next JSON token from the underlying TextReader as a Byte[].
(Overrides JsonReaderReadAsBytes.)
Public methodReadAsBytesAsync
Asynchronously reads the next JSON token from the source as a Byte[].
(Overrides JsonReaderReadAsBytesAsync(CancellationToken).)
Public methodReadAsDateTime (Overrides JsonReaderReadAsDateTime.)
Public methodReadAsDateTimeAsync (Overrides JsonReaderReadAsDateTimeAsync(CancellationToken).)
Public methodReadAsDateTimeOffset (Overrides JsonReaderReadAsDateTimeOffset.)
Public methodReadAsDateTimeOffsetAsync (Overrides JsonReaderReadAsDateTimeOffsetAsync(CancellationToken).)
Public methodReadAsDecimal (Overrides JsonReaderReadAsDecimal.)
Public methodReadAsDecimalAsync (Overrides JsonReaderReadAsDecimalAsync(CancellationToken).)
Public methodReadAsDouble (Overrides JsonReaderReadAsDouble.)
Public methodReadAsDoubleAsync (Overrides JsonReaderReadAsDoubleAsync(CancellationToken).)
Public methodReadAsInt32 (Overrides JsonReaderReadAsInt32.)
Public methodReadAsInt32Async (Overrides JsonReaderReadAsInt32Async(CancellationToken).)
Public methodReadAsString
Reads the next JSON token from the underlying TextReader as a String.
(Overrides JsonReaderReadAsString.)
Public methodReadAsStringAsync
Asynchronously reads the next JSON token from the source as a String.
(Overrides JsonReaderReadAsStringAsync(CancellationToken).)
Public methodReadAsync
Asynchronously reads the next JSON token from the source.
(Overrides JsonReaderReadAsync(CancellationToken).)
Protected methodSetStateBasedOnCurrent
Sets the state based on current token type.
(Inherited from JsonReader.)
Protected methodSetToken(JsonToken)
Sets the current token.
(Inherited from JsonReader.)
Protected methodSetToken(JsonToken, Object)
Sets the current token and value.
(Inherited from JsonReader.)
Protected methodSetToken(JsonToken, Object, Boolean)
Sets the current token and value.
(Inherited from JsonReader.)
Public methodSkip
Skips the children of the current token.
(Inherited from JsonReader.)
Public methodSkipAsync
Asynchronously skips the children of the current token.
(Inherited from JsonReader.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also