BsonWriter Properties |
The BsonWriter type exposes the following members.
Name | Description | |
---|---|---|
AutoCompleteOnClose |
Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
(Inherited from JsonWriter.) | |
CloseOutput |
Gets or sets a value indicating whether the destination should be closed when this writer is closed.
(Inherited from JsonWriter.) | |
Culture |
Gets or sets the culture used when writing JSON. Defaults to InvariantCulture.
(Inherited from JsonWriter.) | |
DateFormatHandling |
Gets or sets how dates are written to JSON text.
(Inherited from JsonWriter.) | |
DateFormatString |
Gets or sets how DateTime and DateTimeOffset values are formatted when writing JSON text.
(Inherited from JsonWriter.) | |
DateTimeKindHandling |
Gets or sets the DateTimeKind used when writing DateTime values to BSON.
When set to Unspecified no conversion will occur.
| |
DateTimeZoneHandling |
Gets or sets how DateTime time zones are handled when writing JSON text.
(Inherited from JsonWriter.) | |
FloatFormatHandling |
Gets or sets how special floating point numbers, e.g. NaN,
PositiveInfinity and NegativeInfinity,
are written to JSON text.
(Inherited from JsonWriter.) | |
Formatting |
Gets or sets a value indicating how JSON text output should be formatted.
(Inherited from JsonWriter.) | |
Path |
Gets the path of the writer.
(Inherited from JsonWriter.) | |
StringEscapeHandling |
Gets or sets how strings are escaped when writing JSON text.
(Inherited from JsonWriter.) | |
Top |
Gets the top.
(Inherited from JsonWriter.) | |
WriteState |
Gets the state of the writer.
(Inherited from JsonWriter.) |