Click or drag to resize
Json.NET

JsonReader Properties

 

The JsonReader type exposes the following members.

Properties
  NameDescription
Public propertyCloseInput
Gets or sets a value indicating whether the source should be closed when this reader is closed.
Public propertyCulture
Gets or sets the culture used when reading JSON. Defaults to InvariantCulture.
Protected propertyCurrentState
Gets the current reader state.
Public propertyDateFormatString
Gets or sets how custom date formatted strings are parsed when reading JSON.
Public propertyDateParseHandling
Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
Public propertyDateTimeZoneHandling
Gets or sets how DateTime time zones are handled when reading JSON.
Public propertyDepth
Gets the depth of the current token in the JSON document.
Public propertyFloatParseHandling
Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
Public propertyMaxDepth
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException.
Public propertyPath
Gets the path of the current JSON token.
Public propertyQuoteChar
Gets the quotation mark character used to enclose the value of a string.
Public propertySupportMultipleContent
Gets or sets a value indicating whether multiple pieces of JSON content can be read from a continuous stream without erroring.
Public propertyTokenType
Gets the type of the current JSON token.
Public propertyValue
Gets the text value of the current JSON token.
Public propertyValueType
Gets the .NET type for the current JSON token.
Top
See Also