public class InputMediaSerializer extends com.fasterxml.jackson.databind.JsonSerializer<InputMedia>
| Constructor and Description |
|---|
InputMediaSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(InputMedia value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(InputMedia value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
public void serialize(InputMedia value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<InputMedia>IOExceptionpublic void serializeWithType(InputMedia value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<InputMedia>IOExceptionCopyright © 2019. All rights reserved.