public class JCardDeserializer extends JsonDeserializer<VCard>
JsonDeserializer.None
Constructor and Description |
---|
JCardDeserializer() |
Modifier and Type | Method and Description |
---|---|
VCard |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
DeserializationContext context) |
ScribeIndex |
getScribeIndex()
Gets the scribe index.
|
void |
registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
void |
setScribeIndex(ScribeIndex index)
Sets the scribe index.
|
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
public JCardDeserializer()
public VCard deserialize(com.fasterxml.jackson.core.JsonParser parser, DeserializationContext context) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class JsonDeserializer<VCard>
IOException
com.fasterxml.jackson.core.JsonProcessingException
public void registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe. This is the same as calling:
getScribeIndex().register(scribe)
scribe
- the scribe to registerpublic ScribeIndex getScribeIndex()
public void setScribeIndex(ScribeIndex index)
index
- the scribe indexCopyright © 2012–2023 Michael Angstadt. All rights reserved.