Class LegacyOptionSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
com.atlassian.confluence.ui.rest.json.LegacyOptionSerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

@Deprecated public class LegacyOptionSerializer extends com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
Deprecated.
since 7.0.1 , use com.atlassian.confluence.rest.serialization.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.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<com.atlassian.fugue.Option>
    Deprecated.
     
    void
    serialize(com.atlassian.fugue.Option option, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
    Deprecated.
     

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    acceptJsonFormatVisitor, getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

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

    • LegacyOptionSerializer

      public LegacyOptionSerializer()
      Deprecated.
  • Method Details

    • serialize

      public void serialize(com.atlassian.fugue.Option option, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
      Deprecated.
      Specified by:
      serialize in class com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonProcessingException
    • handledType

      public Class<com.atlassian.fugue.Option> handledType()
      Deprecated.
      Overrides:
      handledType in class com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>