Object
JsonSerializer<MenuButton>
MenuButtonSerializer
All Implemented Interfaces:
JsonFormatVisitable

public class MenuButtonSerializer extends JsonSerializer<MenuButton>
Version:
6.0 JSON serializer for MenuButton type
Author:
Ruben Bermudez
  • Nested Class Summary

    Nested classes/interfaces inherited from class JsonSerializer

    JsonSerializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(MenuButton value, JsonGenerator gen, SerializerProvider serializers)
     
    void
    serializeWithType(MenuButton value, JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer)
     

    Methods inherited from class JsonSerializer

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

    Methods inherited from class Object

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

    • MenuButtonSerializer

      public MenuButtonSerializer()
  • Method Details

    • serialize

      public void serialize(MenuButton value, JsonGenerator gen, SerializerProvider serializers) throws IOException
      Specified by:
      serialize in class JsonSerializer<MenuButton>
      Throws:
      IOException
    • serializeWithType

      public void serializeWithType(MenuButton value, JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer) throws IOException
      Overrides:
      serializeWithType in class JsonSerializer<MenuButton>
      Throws:
      IOException