Class IdentityDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<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<List<Identity>>
  • Nested Class Summary

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

    com.fasterxml.jackson.databind.JsonDeserializer.None
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final com.fasterxml.jackson.databind.ObjectMapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
     
    private List<Identity>
    parseIdentities(com.fasterxml.jackson.databind.JsonNode node)
     
    private List<Method>
    parseMethods(com.fasterxml.jackson.databind.JsonNode methodsNode)
     
    private Identity
    parseSingleIdentity(com.fasterxml.jackson.databind.JsonNode node)
     
    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

    Methods inherited from class Object

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

    • mapper

      private final com.fasterxml.jackson.databind.ObjectMapper mapper
  • Constructor Details

    • IdentityDeserializer

      public IdentityDeserializer()
  • Method Details

    • deserialize

      public List<Identity> deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<List<Identity>>
      Throws:
      IOException
    • parseIdentities

      private List<Identity> parseIdentities(com.fasterxml.jackson.databind.JsonNode node)
    • parseSingleIdentity

      private Identity parseSingleIdentity(com.fasterxml.jackson.databind.JsonNode node)
    • parseMethods

      private List<Method> parseMethods(com.fasterxml.jackson.databind.JsonNode methodsNode)
    • parseTools

      private List<BomReference> parseTools(com.fasterxml.jackson.databind.JsonNode toolsNode)