Table of Contents

Constructor JsonWriter

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

JsonWriter(TextWriter)

Initializes a new instance of the JsonWriter class.

public JsonWriter(TextWriter writer)

Parameters

writer TextWriter

A TextWriter.

JsonWriter(TextWriter, JsonWriterSettings)

Initializes a new instance of the JsonWriter class.

public JsonWriter(TextWriter writer, JsonWriterSettings settings)

Parameters

writer TextWriter

A TextWriter.

settings JsonWriterSettings

Optional JsonWriter settings.