Class JacksonJson.UserListDeserializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider
    Enclosing class:
    JacksonJson

    public static class JacksonJson.UserListDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<List<User>>
    Deserializer for the odd User instances in the "approved_by" array in the merge_request JSON.
    • Nested Class Summary

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

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

      Modifier and Type Method Description
      List<User> deserialize​(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext context)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
    • Constructor Detail

      • UserListDeserializer

        public UserListDeserializer()
    • Method Detail

      • deserialize

        public List<User> deserialize​(com.fasterxml.jackson.core.JsonParser jsonParser,
                                      com.fasterxml.jackson.databind.DeserializationContext context)
                               throws IOException,
                                      com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<List<User>>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException