Class AbstractScoreJacksonDeserializer<Score_ extends Score<Score_>>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<Score_>
-
- org.optaplanner.persistence.jackson.api.score.AbstractScoreJacksonDeserializer<Score_>
-
- Type Parameters:
Score_
- the actual score type
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Direct Known Subclasses:
BendableBigDecimalScoreJacksonDeserializer
,BendableLongScoreJacksonDeserializer
,BendableScoreJacksonDeserializer
,HardMediumSoftBigDecimalScoreJacksonDeserializer
,HardMediumSoftLongScoreJacksonDeserializer
,HardMediumSoftScoreJacksonDeserializer
,HardSoftBigDecimalScoreJacksonDeserializer
,HardSoftLongScoreJacksonDeserializer
,HardSoftScoreJacksonDeserializer
,SimpleBigDecimalScoreJacksonDeserializer
,SimpleLongScoreJacksonDeserializer
,SimpleScoreJacksonDeserializer
public abstract class AbstractScoreJacksonDeserializer<Score_ extends Score<Score_>> extends com.fasterxml.jackson.databind.JsonDeserializer<Score_>
Jackson binding support for aScore
type.For example: use
@JsonSerialize(using = HardSoftScoreScoreJacksonSerializer.class) @JsonDeserialize(using = HardSoftScoreJacksonDeserializer.class)
on aHardSoftScore score
field and it will marshalled to JSON as"score":"-999hard/-999soft"
.- See Also:
Score
-
-
Constructor Summary
Constructors Constructor Description AbstractScoreJacksonDeserializer()
-
Method Summary
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-