Class PolyStringSerializer

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

    public class PolyStringSerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<PolyString>
    • 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​(PolyString value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)  
      void serializeWithType​(PolyString value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
    • Constructor Detail

      • PolyStringSerializer

        public PolyStringSerializer()
    • Method Detail

      • serialize

        public void serialize​(PolyString 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<PolyString>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException
      • serializeWithType

        public void serializeWithType​(PolyString value,
                                      com.fasterxml.jackson.core.JsonGenerator jgen,
                                      com.fasterxml.jackson.databind.SerializerProvider provider,
                                      com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
                               throws IOException,
                                      com.fasterxml.jackson.core.JsonProcessingException
        Overrides:
        serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<PolyString>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException