Class MessageComponent.BooleanSerializer

java.lang.Object
ch.njol.skript.util.chat.MessageComponent.BooleanSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Boolean>
Enclosing class:
MessageComponent

public static class MessageComponent.BooleanSerializer extends Object implements com.google.gson.JsonSerializer<Boolean>
  • Constructor Details

    • BooleanSerializer

      public BooleanSerializer()
  • Method Details

    • serialize

      @Nullable public @Nullable com.google.gson.JsonElement serialize(@Nullable @Nullable Boolean src, @Nullable @Nullable Type typeOfSrc, @Nullable @Nullable com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Boolean>