Class TextByLangDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<TextByLang>
-
- fr.gouv.vitam.common.mapping.deserializer.TextByLangDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class TextByLangDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<TextByLang>
Deserialize a (json, xml, string) representation to TextByLang To be registered in jackson objectMapper
-
-
Constructor Summary
Constructors Constructor Description TextByLangDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextByLang
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Convert json, xml, string to TextByLang-
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
-
-
-
-
Method Detail
-
deserialize
public TextByLang deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException
Convert json, xml, string to TextByLang- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<TextByLang>
- Parameters:
jp
- (json, xml, string) representationctxt
-- Returns:
- the text by lang
- Throws:
java.io.IOException
-
-