Click or drag to resize
Json.NET

BsonWriter Properties

 

The BsonWriter type exposes the following members.

Properties
  NameDescription
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 propertyDateTimeKindHandling
Gets or sets the DateTimeKind used when writing DateTime values to BSON. When set to Unspecified no conversion will occur.
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 propertyPath
Gets the path of the writer.
(Inherited from JsonWriter.)
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