Package org.gitlab4j.api.utils
Class JacksonJson.UserListSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- JacksonJson
public static class JacksonJson.UserListSerializer extends com.fasterxml.jackson.databind.JsonSerializer<List<User>>
Serializer for the odd User instances in the "approved_by" array in the merge_request JSON.
-
-
Constructor Summary
Constructors Constructor Description UserListSerializer()
-
-
-
Method Detail
-
serialize
public void serialize(List<User> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<List<User>>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
-