Class ConfigVariableSerializer

java.lang.Object
com.acmerobotics.dashboard.config.variable.ConfigVariableSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<ConfigVariable<?>>

public class ConfigVariableSerializer extends Object implements com.google.gson.JsonSerializer<ConfigVariable<?>>
  • Constructor Details

    • ConfigVariableSerializer

      public ConfigVariableSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(ConfigVariable<?> configVariable, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<ConfigVariable<?>>