Table of Contents

Method DeserializeEJson

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

DeserializeEJson<TInput, TOutput>(TInput, DeserializeEJsonOptions<TOutput>)

Deserializes Extended JSON values back to native BSON types using the $deserializeEJSON aggregation operator.

public static TOutput DeserializeEJson<TInput, TOutput>(TInput value, DeserializeEJsonOptions<TOutput> options = null)

Parameters

value TInput

The value to deserialize.

options DeserializeEJsonOptions<TOutput>

The deserialization options.

Returns

TOutput

The deserialized value.

Type Parameters

TInput

The type of the input value.

TOutput

The type of the output value.