public class FeedScopedIdSerializer extends com.fasterxml.jackson.databind.JsonSerializer<FeedScopedId>
| Constructor and Description |
|---|
FeedScopedIdSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<FeedScopedId> |
handledType() |
static com.fasterxml.jackson.databind.module.SimpleModule |
makeModule()
This creates a Jackson module including both the serializer and deserializer for AgencyAndIds.
|
void |
serialize(FeedScopedId a,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
public static final String SEPARATOR
public static com.fasterxml.jackson.databind.module.SimpleModule makeModule()
public void serialize(FeedScopedId a, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<FeedScopedId>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic Class<FeedScopedId> handledType()
handledType in class com.fasterxml.jackson.databind.JsonSerializer<FeedScopedId>Copyright © 2019. All rights reserved.