Class PersistentEntityJackson2Module.LookupObjectSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.LookupObjectSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
- Enclosing class:
- PersistentEntityJackson2Module
public static class PersistentEntityJackson2Module.LookupObjectSerializer
extends com.fasterxml.jackson.databind.ser.std.ToStringSerializer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.ser.std.ToStringSerializer
instance
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
-
Constructor Summary
ConstructorDescriptionLookupObjectSerializer
(org.springframework.plugin.core.PluginRegistry<EntityLookup<?>, Class<?>> lookups) -
Method Summary
Methods inherited from class com.fasterxml.jackson.databind.ser.std.ToStringSerializer
valueToString
Methods inherited from class com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
acceptJsonFormatVisitor, getSchema, isEmpty, serializeWithType
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
LookupObjectSerializer
public LookupObjectSerializer(org.springframework.plugin.core.PluginRegistry<EntityLookup<?>, Class<?>> lookups)
-
-
Method Details
-
serialize
public void serialize(Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Overrides:
serialize
in classcom.fasterxml.jackson.databind.ser.std.ToStringSerializerBase
- Throws:
IOException
-