Package org.cyclonedx.util.deserializer
Class IdentityDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<java.util.List<Identity>>
-
- org.cyclonedx.util.deserializer.IdentityDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class IdentityDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<java.util.List<Identity>>
-
-
Field Summary
Fields Modifier and Type Field Description private com.fasterxml.jackson.databind.ObjectMappermapper
-
Constructor Summary
Constructors Constructor Description IdentityDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Identity>deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)private java.util.List<Identity>parseIdentities(com.fasterxml.jackson.databind.JsonNode node)private java.util.List<Method>parseMethods(com.fasterxml.jackson.databind.JsonNode methodsNode)private IdentityparseSingleIdentity(com.fasterxml.jackson.databind.JsonNode node)private java.util.List<BomReference>parseTools(com.fasterxml.jackson.databind.JsonNode toolsNode)-
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 java.util.List<Identity> deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws java.io.IOException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<java.util.List<Identity>>- Throws:
java.io.IOException
-
parseIdentities
private java.util.List<Identity> parseIdentities(com.fasterxml.jackson.databind.JsonNode node)
-
parseSingleIdentity
private Identity parseSingleIdentity(com.fasterxml.jackson.databind.JsonNode node)
-
parseMethods
private java.util.List<Method> parseMethods(com.fasterxml.jackson.databind.JsonNode methodsNode)
-
parseTools
private java.util.List<BomReference> parseTools(com.fasterxml.jackson.databind.JsonNode toolsNode)
-
-