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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
serialize
(ConfigVariable<?> configVariable, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
-
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 interfacecom.google.gson.JsonSerializer<ConfigVariable<?>>
-