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.
-
-
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, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
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 classcom.fasterxml.jackson.databind.JsonDeserializer<List<User>>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
-