Package org.gitlab4j.api.utils
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(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, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
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 classcom.fasterxml.jackson.databind.JsonDeserializer<List<User>>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-