Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
| C# | Visual Basic | Visual C++ |
public class JsonTextReader : JsonReader
Public Class JsonTextReader _ Inherits JsonReader
public ref class JsonTextReader : public JsonReader
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| JsonTextReader(TextReader) |
Initializes a new instance of the JsonReader class with the specified TextReader.
| |
| Close()()() |
Changes the state to closed.
(Overrides JsonReader.Close()()().) | |
| CurrentState |
Gets the current reader state.
(Inherited from JsonReader.) | |
| Depth |
Gets the depth of the current token in the JSON document.
(Inherited from JsonReader.) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from JsonReader.) | |
| 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.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| QuoteChar |
Gets the quotation mark character used to enclose the value of a string.
(Inherited from JsonReader.) | |
| Read()()() |
Reads the next Json token from the stream.
(Overrides JsonReader.Read()()().) | |
| SetStateBasedOnCurrent()()() |
Sets the state based on current token type.
(Inherited from JsonReader.) | |
| SetToken(JsonToken, Object) |
Sets the current token and value.
(Overrides JsonReader.SetToken(JsonToken, Object).) | |
| SetToken(JsonToken) |
Sets the current token.
(Inherited from JsonReader.) | |
| Skip()()() |
Skips the children of the current token.
(Inherited from JsonReader.) | |
| TokenType |
Gets the type of the current Json token.
(Inherited from JsonReader.) | |
| ToString()()() | (Inherited from Object.) | |
| Value |
Gets the text value of the current Json token.
(Inherited from JsonReader.) | |
| ValueType |
Gets The Common Language Runtime (CLR) type for the current Json token.
(Inherited from JsonReader.) |
| Object | ||
| JsonReader | ||
| JsonTextReader | ||