Class ElementDeserializer<ISM extends Element>
- java.lang.Object
-
- org.gcube.com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM>
-
- org.gcube.informationsystem.utils.ElementDeserializer<ISM>
-
- All Implemented Interfaces:
Serializable
public class ElementDeserializer<ISM extends Element> extends org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM>- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gcube.com.fasterxml.jackson.databind.ObjectMappermapper
-
Constructor Summary
Constructors Constructor Description ElementDeserializer(Class<ISM> clz, org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISMdeserialize(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt)ObjectdeserializeWithType(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt, org.gcube.com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)-
Methods inherited from class org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromInt, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
-
-
-
-
Method Detail
-
deserializeWithType
public Object deserializeWithType(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt, org.gcube.com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException
- Overrides:
deserializeWithTypein classorg.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM extends Element>- Throws:
IOException
-
deserialize
public ISM deserialize(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, org.gcube.com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
deserializein classorg.gcube.com.fasterxml.jackson.databind.JsonDeserializer<ISM extends Element>- Throws:
IOExceptionorg.gcube.com.fasterxml.jackson.core.JsonProcessingException
-
-