Object
JsonSerializer<InputMedia>
InputMediaSerializer
All Implemented Interfaces:
JsonFormatVisitable

public class InputMediaSerializer extends JsonSerializer<InputMedia>
Version:
4.0.0 JSON serializer for InputMedia 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(InputMedia value, JsonGenerator gen, SerializerProvider serializers)
     
    void
    serializeWithType(InputMedia 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

    • InputMediaSerializer

      public InputMediaSerializer()
  • Method Details

    • serialize

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

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