Click or drag to resize
Json.NET

JsonReader Methods

 

The JsonReader type exposes the following members.

Methods
  NameDescription
Public methodClose
Changes the reader's state to Closed. If CloseInput is set to true, the source is also closed.
Protected methodDispose
Releases unmanaged and - optionally - managed resources.
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Reads the next JSON token from the source.
Public methodReadAsBoolean
Public methodReadAsBooleanAsync
Public methodReadAsBytes
Reads the next JSON token from the source as a Byte[].
Public methodReadAsBytesAsync
Asynchronously reads the next JSON token from the source as a Byte[].
Public methodReadAsDateTime
Public methodReadAsDateTimeAsync
Public methodReadAsDateTimeOffset
Public methodReadAsDateTimeOffsetAsync
Public methodReadAsDecimal
Public methodReadAsDecimalAsync
Public methodReadAsDouble
Public methodReadAsDoubleAsync
Public methodReadAsInt32
Public methodReadAsInt32Async
Public methodReadAsString
Reads the next JSON token from the source as a String.
Public methodReadAsStringAsync
Asynchronously reads the next JSON token from the source as a String.
Public methodReadAsync
Asynchronously reads the next JSON token from the source.
Protected methodSetStateBasedOnCurrent
Sets the state based on current token type.
Protected methodSetToken(JsonToken)
Sets the current token.
Protected methodSetToken(JsonToken, Object)
Sets the current token and value.
Protected methodSetToken(JsonToken, Object, Boolean)
Sets the current token and value.
Public methodSkip
Skips the children of the current token.
Public methodSkipAsync
Asynchronously skips the children of the current token.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also