Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void 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 Detail

      • ObjectIdSerializer

        public ObjectIdSerializer()
    • Method Detail

      • 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 class com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException