Constructor JsonCommand
JsonCommand(string, IBsonSerializer<TResult>)
Initializes a new instance of the JsonCommand<TResult> class.
public JsonCommand(string json, IBsonSerializer<TResult> resultSerializer = null)
Parameters
json
stringThe json.
resultSerializer
IBsonSerializer<TResult>The result serializer.