Class StringToListDeserializer

java.lang.Object
tools.jackson.databind.ValueDeserializer<List<String>>
com.xebialabs.xlrelease.nl2sql.views.StringToListDeserializer
All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider

public class StringToListDeserializer extends tools.jackson.databind.ValueDeserializer<List<String>>
Custom Jackson deserializer that normalizes string and array inputs to List<String>. Handles backward compatibility: - null → null - "id" → ["id"] - ["id1", "id2"] → ["id1", "id2"]
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer

    tools.jackson.databind.ValueDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt)
     

    Methods inherited from class tools.jackson.databind.ValueDeserializer

    createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer

    Methods inherited from class java.lang.Object

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

    • StringToListDeserializer

      public StringToListDeserializer()
  • Method Details

    • deserialize

      public List<String> deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt)
      Specified by:
      deserialize in class tools.jackson.databind.ValueDeserializer<List<String>>