Package tenapull.data.deserialize
Class Lookup.Serializer<POJO extends StringLookupPojo<POJO>>
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<POJO>
tenapull.data.deserialize.Lookup.Serializer<POJO>
- Type Parameters:
POJO
- the StringLookupPojo type
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- Lookup
public static class Lookup.Serializer<POJO extends StringLookupPojo<POJO>>
extends com.fasterxml.jackson.databind.JsonSerializer<POJO>
Serializes a StringLookupPojo of any type into the JSON string that it represents
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(POJO pojo, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws java.io.IOExceptionSerializes a StringLookupPojo of any type into the JSON string that it represents- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<POJO extends StringLookupPojo<POJO>>
- Parameters:
pojo
-jsonGenerator
-serializerProvider
-- Throws:
java.io.IOException
-