Class OptionSerializer

  • All Implemented Interfaces:
    org.codehaus.jackson.schema.SchemaAware

    @Deprecated
    public class OptionSerializer
    extends org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
    Deprecated.
    since 7.0.1. Fugue options shouldn't be used in REST API. OptionalSerializer is doing the same thing for serialising Optional
    Serialize fugue Option classes. Serializes the property if it is defined, or leaves it absent if it is not
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer

        org.codehaus.jackson.map.JsonSerializer.None
    • Field Summary

      • Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase

        _handledType
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionSerializer()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void serialize​(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)
      Deprecated.
       
      • Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase

        createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
      • Methods inherited from class org.codehaus.jackson.map.JsonSerializer

        isUnwrappingSerializer, serializeWithType, unwrappingSerializer
    • Constructor Detail

      • OptionSerializer

        public OptionSerializer()
        Deprecated.
    • Method Detail

      • serialize

        public void serialize​(com.atlassian.fugue.Option option,
                              org.codehaus.jackson.JsonGenerator jgen,
                              org.codehaus.jackson.map.SerializerProvider provider)
                       throws IOException
        Deprecated.
        Specified by:
        serialize in class org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
        Throws:
        IOException