Class NotesDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<List<ReleaseNotes.Notes>>
org.cyclonedx.util.deserializer.NotesDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider

public class NotesDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<List<ReleaseNotes.Notes>>
  • 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 parser, com.fasterxml.jackson.databind.DeserializationContext context)
     
    parseNode(com.fasterxml.jackson.databind.JsonNode node)
     
    parseNotes(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

    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

    • NotesDeserializer

      public NotesDeserializer()
  • Method Details

    • deserialize

      public List<ReleaseNotes.Notes> deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<List<ReleaseNotes.Notes>>
      Throws:
      IOException
    • parseNode

      private List<ReleaseNotes.Notes> parseNode(com.fasterxml.jackson.databind.JsonNode node) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • parseNotes

      private ReleaseNotes.Notes parseNotes(com.fasterxml.jackson.databind.JsonNode node) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException