Class LegacyOptionSerializer


  • @Deprecated
    public class LegacyOptionSerializer
    extends org.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>
    Deprecated.
    since 7.0.1 , use OptionSerializer
    Serialize fugue Option classes. Currently this works the same way the SoyData default serializer works - by converting either to an empty array or a single-element array. The plan is to migrate both serializations to remove the property if it is not resolved.
    • Constructor Detail

      • LegacyOptionSerializer

        public LegacyOptionSerializer()
        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,
                              org.codehaus.jackson.JsonProcessingException
        Deprecated.
        Specified by:
        serialize in class org.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>
        Throws:
        IOException
        org.codehaus.jackson.JsonProcessingException
      • handledType

        public Class<com.atlassian.fugue.Option> handledType()
        Deprecated.
        Overrides:
        handledType in class org.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>