Class JacksonUtils.ComponentSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<Component>
com.vaadin.flow.internal.JacksonUtils.ComponentSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Enclosing class:
JacksonUtils

public static class JacksonUtils.ComponentSerializer extends tools.jackson.databind.ValueSerializer<Component>
Custom Jackson serializer for Component that delegates to NodeSerializer.
  • 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(Component component, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers)
     

    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

    • ComponentSerializer

      public ComponentSerializer()
  • Method Details

    • serialize

      public void serialize(Component component, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers)
      Specified by:
      serialize in class tools.jackson.databind.ValueSerializer<Component>