Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextByLangDeserializer

        public TextByLangDeserializer()
    • 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 class com.fasterxml.jackson.databind.JsonDeserializer<TextByLang>
        Parameters:
        jp - (json, xml, string) representation
        ctxt -
        Returns:
        the text by lang
        Throws:
        java.io.IOException