public static class BoundedIntUnaryOperator.Serializer extends Object implements JsonDeserializer<BoundedIntUnaryOperator>, JsonSerializer<BoundedIntUnaryOperator>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
BoundedIntUnaryOperator |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
JsonElement |
serialize(BoundedIntUnaryOperator boundedIntUnaryOperator,
Type type,
JsonSerializationContext jsonSerializationContext) |
public BoundedIntUnaryOperator deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize
in interface JsonDeserializer<BoundedIntUnaryOperator>
JsonParseException
public JsonElement serialize(BoundedIntUnaryOperator boundedIntUnaryOperator, Type type, JsonSerializationContext jsonSerializationContext)
serialize
in interface JsonSerializer<BoundedIntUnaryOperator>