Table of Contents

Constructor JsonReader

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

JsonReader(string)

Initializes a new instance of the JsonReader class.

public JsonReader(string json)

Parameters

json string

The JSON string.

JsonReader(string, JsonReaderSettings)

Initializes a new instance of the JsonReader class.

public JsonReader(string json, JsonReaderSettings settings)

Parameters

json string

The JSON string.

settings JsonReaderSettings

The reader settings.

JsonReader(TextReader)

Initializes a new instance of the JsonReader class.

public JsonReader(TextReader textReader)

Parameters

textReader TextReader

The TextReader.

JsonReader(TextReader, JsonReaderSettings)

Initializes a new instance of the JsonReader class.

public JsonReader(TextReader textReader, JsonReaderSettings settings)

Parameters

textReader TextReader

The TextReader.

settings JsonReaderSettings

The reader settings.