Package com.spotify.docker.client
Class ObjectMapperProvider.ImmutableSetSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<com.google.common.collect.ImmutableSet>
com.spotify.docker.client.ObjectMapperProvider.ImmutableSetSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
ObjectMapperProvider
private static class ObjectMapperProvider.ImmutableSetSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<com.google.common.collect.ImmutableSet>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(com.google.common.collect.ImmutableSet value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
ImmutableSetSerializer
private ImmutableSetSerializer()
-
-
Method Details
-
serialize
public void serialize(com.google.common.collect.ImmutableSet value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<com.google.common.collect.ImmutableSet>
- Throws:
IOException
-