Class PersistentEntityJacksonModule.LookupObjectSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<Object>
tools.jackson.databind.ser.std.StdSerializer<Object>
tools.jackson.databind.ser.std.ToStringSerializerBase
org.springframework.data.rest.webmvc.json.PersistentEntityJacksonModule.LookupObjectSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Enclosing class:
PersistentEntityJacksonModule

public static class PersistentEntityJacksonModule.LookupObjectSerializer extends tools.jackson.databind.ser.std.ToStringSerializerBase
Since:
5.0
Author:
Mark Paluch, Jon Brisbin, Oliver Gierke, Greg Turnquist, Alex Leigh
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer

    tools.jackson.databind.ValueSerializer.None
  • Field Summary

    Fields inherited from class tools.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    LookupObjectSerializer(org.springframework.plugin.core.PluginRegistry<EntityLookup<?>, Class<?>> lookups)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
     
     

    Methods inherited from class tools.jackson.databind.ser.std.ToStringSerializerBase

    acceptJsonFormatVisitor, isEmpty, serializeWithType

    Methods inherited from class tools.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class tools.jackson.databind.ValueSerializer

    createContextual, getDelegatee, isUnwrappingSerializer, properties, replaceDelegatee, resolve, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LookupObjectSerializer

      public LookupObjectSerializer(org.springframework.plugin.core.PluginRegistry<EntityLookup<?>, Class<?>> lookups)
  • Method Details

    • serialize

      public void serialize(Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
      Overrides:
      serialize in class tools.jackson.databind.ser.std.ToStringSerializerBase
    • valueToString

      public String valueToString(Object value)
      Specified by:
      valueToString in class tools.jackson.databind.ser.std.ToStringSerializerBase