public class BsonObjectIdDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<ObjectId>
| Constructor and Description |
|---|
BsonObjectIdDeserializer()
Default constructor
|
BsonObjectIdDeserializer(boolean useLegacyFormat)
Deprecated.
Legacy ObjectId format is deprecated. Please use the default
constructor to create ObjectIds in the new format.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectId |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic BsonObjectIdDeserializer()
@Deprecated public BsonObjectIdDeserializer(boolean useLegacyFormat)
useLegacyFormat - true if the legacy format should be enabled