@Beta
public class MultimapSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<com.google.common.collect.Multimap<?,?>>
Multimap instances.
When Brooklyn's Jackson dependency is updated from org.codehaus.jackson:1.9.13 to com.fasterxml.jackson:2.3+ then this class should be replaced with a dependency on jackson-datatype-guava and a GuavaModule registered with Brooklyn's ObjectMapper. Check the guava version when doing the switch as it could be incompatible with the version used by Brooklyn.
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(com.google.common.collect.Multimap<?,?> value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
acceptJsonFormatVisitor, getSchema, getSchema, handledType, wrapAndThrow, wrapAndThrowpublic void serialize(com.google.common.collect.Multimap<?,?> value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws java.io.IOException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<com.google.common.collect.Multimap<?,?>>java.io.IOException