Class ComponentMiniMessageSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<net.kyori.adventure.text.Component>
de.eldoria.jacksonbukkit.serializer.ComponentMiniMessageSerializer
All Implemented Interfaces:
JsonFormatVisitable

public class ComponentMiniMessageSerializer extends JsonSerializer<net.kyori.adventure.text.Component>
Class for serialization of Component using MiniMessage.
  • Constructor Details

    • ComponentMiniMessageSerializer

      public ComponentMiniMessageSerializer(net.kyori.adventure.text.minimessage.MiniMessage miniMessage)
      Creates a new serializer
      Parameters:
      miniMessage - MiniMessage instance to use
    • ComponentMiniMessageSerializer

      public ComponentMiniMessageSerializer()
      Creates a new serializer
  • Method Details