Package choreo.trajectory
Class EventMarker.Deserializer
java.lang.Object
choreo.trajectory.EventMarker.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<EventMarker>
- Enclosing class:
- EventMarker
public static class EventMarker.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<EventMarker>
GSON deserializer for choreolib event markers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
Deserializer
public Deserializer()Default constructor.
-
-
Method Details
-
deserialize
public EventMarker deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<EventMarker>
- Throws:
com.google.gson.JsonParseException
-