Json.NET - Quick Starts & API Documentation
JsonReader Class
NamespacesNewtonsoft.JsonJsonReader
Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
Declaration Syntax
C#Visual BasicVisual C++
public abstract class JsonReader : IDisposable
Public MustInherit Class JsonReader _
	Implements IDisposable
public ref class JsonReader abstract : IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
JsonReader()()()
Initializes a new instance of the JsonReader class with the specified TextReader.

Close()()()
Changes the JsonReader..::.State to Closed.

CurrentState
Gets the current reader state.

Depth
Gets the depth of the current token in the JSON document.

Dispose(Boolean)
Releases unmanaged and - optionally - managed resources

Equals(Object)
Determines whether the specified Object is equal to the current 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. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(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.

Read()()()
Reads the next Json token from the stream.

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()()()
Returns a String that represents the current Object.
(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.

Inheritance Hierarchy

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 2.0.0.0 (2.0.0.0)