public class HardMediumSoftBigDecimalScoreJacksonJsonDeserializer extends AbstractScoreJacksonJsonDeserializer<HardMediumSoftBigDecimalScore>
Score
type.
For example: use @JsonSerialize(using = ScoreJacksonJsonSerializer.class) @JsonDeserialize(using = HardSoftScoreJacksonJsonDeserializer.class)
on a HardSoftScore score
field and it will marshalled to JSON as "score":"-999hard/-999soft"
.
Constructor and Description |
---|
HardMediumSoftBigDecimalScoreJacksonJsonDeserializer() |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftBigDecimalScore |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializer
public HardMediumSoftBigDecimalScoreJacksonJsonDeserializer()
public HardMediumSoftBigDecimalScore deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<HardMediumSoftBigDecimalScore>
IOException
Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.