Class Numeric.Serializer<T extends Numeric<?>>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- dev.aherscu.qa.jgiven.commons.model.Numeric.Serializer<T>
-
- Type Parameters:
T
- type of numeric
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public static class Numeric.Serializer<T extends Numeric<?>> extends com.fasterxml.jackson.databind.JsonSerializer<T>
JSON serialization logic forNumeric
s.- Author:
- aherscu
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(T numeric, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
-
-
Method Detail
-
serialize
public void serialize(T numeric, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<T extends Numeric<?>>
- Throws:
IOException
-
-