public class AgencyAndIdSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.onebusaway.gtfs.model.AgencyAndId>
| Constructor and Description |
|---|
AgencyAndIdSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<org.onebusaway.gtfs.model.AgencyAndId> |
handledType() |
static com.fasterxml.jackson.databind.module.SimpleModule |
makeModule()
This creates a Jackson module including both the serializer and deserializer for AgencyAndIds.
|
void |
serialize(org.onebusaway.gtfs.model.AgencyAndId 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(org.onebusaway.gtfs.model.AgencyAndId 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<org.onebusaway.gtfs.model.AgencyAndId>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic Class<org.onebusaway.gtfs.model.AgencyAndId> handledType()
handledType in class com.fasterxml.jackson.databind.JsonSerializer<org.onebusaway.gtfs.model.AgencyAndId>Copyright © 2018. All rights reserved.