Class CustomerAttributesSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<CustomerAttributes>
com.technia.dsx.threedspace.common.json.CustomerAttributesSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class CustomerAttributesSerializer extends tools.jackson.databind.ser.std.StdSerializer<CustomerAttributes>
Custom JSON serializer for customer attributes.

Serializes customer attributes and extension attributes into a flat JSON structure where extension attributes are serialized as nested objects.

Since:
2023-02-17
  • 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
     
  • Method Summary

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

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

    _neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, 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, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    Methods inherited from class java.lang.Object

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

    • CustomerAttributesSerializer

      public CustomerAttributesSerializer()
  • Method Details

    • serialize

      public void serialize(CustomerAttributes value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
      Specified by:
      serialize in class tools.jackson.databind.ser.std.StdSerializer<CustomerAttributes>