Class CauseSerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    public class CauseSerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<Cause>
    • 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
      boolean isEmpty​(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, @Nullable Cause cause)  
      void serialize​(Cause cause, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CauseSerializer

        public CauseSerializer​(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> objectSerializer)
    • Method Detail

      • serialize

        public void serialize​(Cause cause,
                              com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
                              com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
                       throws java.io.IOException
        Specified by:
        serialize in class com.fasterxml.jackson.databind.JsonSerializer<Cause>
        Throws:
        java.io.IOException
      • isEmpty

        public boolean isEmpty​(com.fasterxml.jackson.databind.SerializerProvider serializerProvider,
                               @Nullable Cause cause)
        Overrides:
        isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<Cause>