Class ItemEntrySerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<ItemEntry>
-
- org.rspeer.game.config.item.serde.ItemEntrySerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class ItemEntrySerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<ItemEntry>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemEntrySerializer()
ItemEntrySerializer(Class<ItemEntry> t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(ItemEntry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
void
serializeWithType(ItemEntry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typed)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
acceptJsonFormatVisitor, getSchema, getSchema, handledType, wrapAndThrow, wrapAndThrow
-
-
-
-
Method Detail
-
serializeWithType
public void serializeWithType(ItemEntry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typed) throws IOException
- Overrides:
serializeWithType
in classcom.fasterxml.jackson.databind.JsonSerializer<ItemEntry>
- Throws:
IOException
-
serialize
public void serialize(ItemEntry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<ItemEntry>
- Throws:
IOException
-
-