public class CacheSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<com.google.common.cache.Cache<?,?>>
| Constructor and Description |
|---|
CacheSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_writeContents(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator g,
com.fasterxml.jackson.databind.SerializerProvider ctxt) |
boolean |
isEmpty(com.fasterxml.jackson.databind.SerializerProvider prov,
com.google.common.cache.Cache<?,?> value) |
void |
serialize(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider ctxt,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowpublic boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider prov,
com.google.common.cache.Cache<?,?> value)
isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<com.google.common.cache.Cache<?,?>>public void serialize(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<com.google.common.cache.Cache<?,?>>IOExceptionpublic void serializeWithType(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider ctxt,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<com.google.common.cache.Cache<?,?>>IOExceptionprotected void _writeContents(com.google.common.cache.Cache<?,?> value,
com.fasterxml.jackson.core.JsonGenerator g,
com.fasterxml.jackson.databind.SerializerProvider ctxt)
throws com.fasterxml.jackson.core.JacksonException
com.fasterxml.jackson.core.JacksonExceptionCopyright © 2022 FasterXML. All rights reserved.