Package com.commercetools.api.json
Class CustomFieldDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<com.commercetools.api.models.type.FieldContainerImpl>
com.commercetools.api.json.CustomFieldDeserializer
- All Implemented Interfaces:
NullValueProvider
public class CustomFieldDeserializer
extends JsonDeserializer<com.commercetools.api.models.type.FieldContainerImpl>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
JsonDeserializer.None
-
Constructor Summary
ConstructorDescriptionCustomFieldDeserializer
(boolean deserializeAsDateString) CustomFieldDeserializer
(boolean deserializeAsDateString, boolean deserializeNumberAsDouble) -
Method Summary
Modifier and TypeMethodDescriptioncom.commercetools.api.models.type.FieldContainerImpl
deserialize
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctx) Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
CustomFieldDeserializer
public CustomFieldDeserializer(boolean deserializeAsDateString) -
CustomFieldDeserializer
public CustomFieldDeserializer(boolean deserializeAsDateString, boolean deserializeNumberAsDouble) -
CustomFieldDeserializer
public CustomFieldDeserializer()
-
-
Method Details
-
deserialize
public com.commercetools.api.models.type.FieldContainerImpl deserialize(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctx) throws IOException - Specified by:
deserialize
in classJsonDeserializer<com.commercetools.api.models.type.FieldContainerImpl>
- Throws:
IOException
-