Package org.cyclonedx.util.deserializer
Class LicensingTypeDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<List<Licensing.LicensingType>>
org.cyclonedx.util.deserializer.LicensingTypeDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class LicensingTypeDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<List<Licensing.LicensingType>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt) private List<Licensing.LicensingType> parseLicenseTypes(com.fasterxml.jackson.databind.JsonNode node) private Licensing.LicensingTypeparseType(com.fasterxml.jackson.databind.JsonNode node) 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
-
Constructor Details
-
LicensingTypeDeserializer
public LicensingTypeDeserializer()
-
-
Method Details
-
deserialize
public List<Licensing.LicensingType> deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException - Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<List<Licensing.LicensingType>>- Throws:
IOException
-
parseLicenseTypes
private List<Licensing.LicensingType> parseLicenseTypes(com.fasterxml.jackson.databind.JsonNode node) -
parseType
-