Package step.functions.packages.handlers
Class ObjectMapperResolver.ObjectIdSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
step.functions.packages.handlers.ObjectMapperResolver.ObjectIdSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- ObjectMapperResolver
public class ObjectMapperResolver.ObjectIdSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(org.bson.types.ObjectId value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
ObjectIdSerializer
public ObjectIdSerializer()
-
-
Method Details
-
serialize
public void serialize(org.bson.types.ObjectId value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-