public class InteractiveControlTypeAdapter extends Object implements com.google.gson.JsonSerializer<InteractiveControlType>, com.google.gson.JsonDeserializer<InteractiveControlType>
InteractiveControlType
from/to their appropriate enum value.InteractiveControlType
Constructor and Description |
---|
InteractiveControlTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
InteractiveControlType |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(InteractiveControlType src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public InteractiveControlType deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
deserialize
in interface com.google.gson.JsonDeserializer<InteractiveControlType>
public com.google.gson.JsonElement serialize(InteractiveControlType src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<InteractiveControlType>
Copyright © 2018. All rights reserved.