Click or drag to resize
Json.NET

JsonTextWriter Properties

 

The JsonTextWriter type exposes the following members.

Properties
  NameDescription
Public propertyArrayPool
Gets or sets the writer's character array pool.
Public propertyAutoCompleteOnClose
Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
(Inherited from JsonWriter.)
Public propertyCloseOutput
Gets or sets a value indicating whether the destination should be closed when this writer is closed.
(Inherited from JsonWriter.)
Public propertyCulture
Gets or sets the culture used when writing JSON. Defaults to InvariantCulture.
(Inherited from JsonWriter.)
Public propertyDateFormatHandling
Gets or sets how dates are written to JSON text.
(Inherited from JsonWriter.)
Public propertyDateFormatString
Gets or sets how DateTime and DateTimeOffset values are formatted when writing JSON text.
(Inherited from JsonWriter.)
Public propertyDateTimeZoneHandling
Gets or sets how DateTime time zones are handled when writing JSON text.
(Inherited from JsonWriter.)
Public propertyFloatFormatHandling
Gets or sets how special floating point numbers, e.g. NaN, PositiveInfinity and NegativeInfinity, are written to JSON text.
(Inherited from JsonWriter.)
Public propertyFormatting
Gets or sets a value indicating how JSON text output should be formatted.
(Inherited from JsonWriter.)
Public propertyIndentation
Gets or sets how many IndentChars to write for each level in the hierarchy when Formatting is set to Indented.
Public propertyIndentChar
Gets or sets which character to use for indenting when Formatting is set to Indented.
Public propertyPath
Gets the path of the writer.
(Inherited from JsonWriter.)
Public propertyQuoteChar
Gets or sets which character to use to quote attribute values.
Public propertyQuoteName
Gets or sets a value indicating whether object names will be surrounded with quotes.
Public propertyStringEscapeHandling
Gets or sets how strings are escaped when writing JSON text.
(Inherited from JsonWriter.)
Protected propertyTop
Gets the top.
(Inherited from JsonWriter.)
Public propertyWriteState
Gets the state of the writer.
(Inherited from JsonWriter.)
Top
See Also