Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
| C# | Visual Basic | Visual C++ |
public abstract class JsonReader : IDisposable
Public MustInherit Class JsonReader _ Implements IDisposable
public ref class JsonReader abstract : IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| JsonReader()()()() |
Initializes a new instance of the JsonReader class with the specified TextReader.
| |
| Close()()()() |
Changes the JsonReader..::..State to Closed.
| |
| CloseInput |
Gets or sets a value indicating whether the underlying stream or
TextReader should be closed when the reader is closed.
| |
| Culture |
Gets or sets the culture used when reading JSON. Defaults to InvariantCulture.
| |
| CurrentState |
Gets the current reader state.
| |
| DateParseHandling |
Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
| |
| DateTimeZoneHandling |
Get or set how DateTime time zones are handling when reading JSON.
| |
| Depth |
Gets the depth of the current token in the JSON document.
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MaxDepth |
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Path |
Gets the path of the current JSON token.
| |
| QuoteChar |
Gets the quotation mark character used to enclose the value of a string.
| |
| Read()()()() |
Reads the next JSON token from the stream.
| |
| ReadAsBytes()()()() |
Reads the next JSON token from the stream as a array<Byte>[]()[][].
| |
| ReadAsDateTime()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
| |
| ReadAsDateTimeOffset()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
| |
| ReadAsDecimal()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
| |
| ReadAsInt32()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
| |
| ReadAsString()()()() |
Reads the next JSON token from the stream as a String.
| |
| SetStateBasedOnCurrent()()()() |
Sets the state based on current token type.
| |
| SetToken(JsonToken) |
Sets the current token.
| |
| SetToken(JsonToken, Object) |
Sets the current token and value.
| |
| Skip()()()() |
Skips the children of the current token.
| |
| TokenType |
Gets the type of the current JSON token.
| |
| ToString()()()() | (Inherited from Object.) | |
| Value |
Gets the text value of the current JSON token.
| |
| ValueType |
Gets The Common Language Runtime (CLR) type for the current JSON token.
|