Class MessageDeserializer

java.lang.Object
com.acmerobotics.dashboard.message.MessageDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Message>

public class MessageDeserializer extends Object implements com.google.gson.JsonDeserializer<Message>
Custom deserializer for dashboard messages.
  • Constructor Details

    • MessageDeserializer

      public MessageDeserializer()
  • Method Details

    • deserialize

      public Message 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<Message>
      Throws:
      com.google.gson.JsonParseException