Class ConfigVariableDeserializer

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

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

    • ConfigVariableDeserializer

      public ConfigVariableDeserializer()
  • Method Details

    • deserialize

      public ConfigVariable<?> deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<ConfigVariable<?>>
      Throws:
      com.google.gson.JsonParseException