Class JacksonJson.UserListDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<List<User>>
org.gitlab4j.api.utils.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
  • Constructor Summary

    Constructors
    Constructor Description
    UserListDeserializer()  
  • 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, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer

    Methods inherited from class java.lang.Object

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

    • UserListDeserializer

      public UserListDeserializer()
  • Method Details

    • 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