Table of Contents

Constructor JsonCommand

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

JsonCommand(string, IBsonSerializer<TResult>)

Initializes a new instance of the JsonCommand<TResult> class.

public JsonCommand(string json, IBsonSerializer<TResult> resultSerializer = null)

Parameters

json string

The json.

resultSerializer IBsonSerializer<TResult>

The result serializer.