Method DeserializeEJson
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
valueTInputThe value to deserialize.
optionsDeserializeEJsonOptions<TOutput>The deserialization options.
Returns
- TOutput
The deserialized value.
Type Parameters
TInputThe type of the input value.
TOutputThe type of the output value.