Class NoEntryWrapperListDeserializer<T>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<List<T>>
-
- io.adminshell.aas.v3.dataformat.xml.deserialization.NoEntryWrapperListDeserializer<T>
-
- Type Parameters:
T- deserialized class within the list
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Direct Known Subclasses:
KeysDeserializer,LangStringsDeserializer
public class NoEntryWrapperListDeserializer<T> extends com.fasterxml.jackson.databind.JsonDeserializer<List<T>>
Custom deserializer for lists without individual list entry wrappers for parametrized classes.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringelementName
-
Constructor Summary
Constructors Constructor Description NoEntryWrapperListDeserializer(String elementName, CustomJsonNodeDeserializer<T> nodeDeserializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt)-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Field Detail
-
elementName
protected final String elementName
-
-
Constructor Detail
-
NoEntryWrapperListDeserializer
public NoEntryWrapperListDeserializer(String elementName, CustomJsonNodeDeserializer<T> nodeDeserializer)
-
-
Method Detail
-
deserialize
public List<T> deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<List<T>>- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
-