Table of Contents

Class JsonWriterSettings

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents settings for a JsonWriter.

[Serializable]
public class JsonWriterSettings : BsonWriterSettings
Inheritance
JsonWriterSettings
Inherited Members
Extension Methods

Constructors

JsonWriterSettings()

Initializes a new instance of the JsonWriterSettings class.

Properties

Defaults

Gets or sets the default JsonWriterSettings.

Encoding

Gets or sets the output Encoding.

Indent

Gets or sets whether to indent the output.

IndentChars

Gets or sets the indent characters.

NewLineChars

Gets or sets the new line characters.

OutputMode

Gets or sets the output mode.

ShellVersion

Gets or sets the shell version (used with OutputMode Shell).

Methods

Clone()

Creates a clone of the settings.

CloneImplementation()

Creates a clone of the settings.