Package org.gbif.api.jackson
Class RankSerde.RankJsonSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<Rank>
-
- org.gbif.api.jackson.RankSerde.RankJsonSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- RankSerde
public static class RankSerde.RankJsonSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Rank>
JacksonJsonSerializer
forRank
.
-
-
Constructor Summary
Constructors Constructor Description RankJsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(Rank value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
-
-
Constructor Detail
-
RankJsonSerializer
public RankJsonSerializer()
-
-
Method Detail
-
serialize
public void serialize(Rank value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<Rank>
- Throws:
IOException
-
-