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