Class SerializableJsonTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<Serializable>
google.registry.util.StringBaseTypeAdapter<Serializable>
google.registry.model.adapters.SerializableJsonTypeAdapter

public class SerializableJsonTypeAdapter extends StringBaseTypeAdapter<Serializable>
TypeAdapter for Serializable objects.

VKey keys (primary keys in SQL) are usually represented by either a long or a String. There are a couple situations (CursorId, HistoryEntryId) where the Serializable in question is a complex object, but we do not need to worry about (de)serializing those objects to/from JSON.