Class LogicalSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<Logical>
com.technia.dsx.threedspace.zone.json.LogicalSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class LogicalSerializer extends tools.jackson.databind.ValueSerializer<Logical>
Custom JSON serializer for logical filter operations (AND, OR).

Serializes logical filters as an array of filter items, each wrapped with its filter type.

Since:
2023-04-24
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class tools.jackson.databind.ValueSerializer

    acceptJsonFormatVisitor, createContextual, getDelegatee, handledType, 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

    • LogicalSerializer

      public LogicalSerializer()
  • Method Details

    • serialize

      public void serialize(Logical value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext context)
      Specified by:
      serialize in class tools.jackson.databind.ValueSerializer<Logical>