public class HardMediumSoftLongScoreJacksonJsonDeserializer extends AbstractScoreJacksonJsonDeserializer<HardMediumSoftLongScore>
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 |
|---|
HardMediumSoftLongScoreJacksonJsonDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
HardMediumSoftLongScore |
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, unwrappingDeserializerpublic HardMediumSoftLongScoreJacksonJsonDeserializer()
public HardMediumSoftLongScore deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<HardMediumSoftLongScore>IOExceptionCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.