public final class IdTypeAdapter extends Object implements com.google.gson.JsonSerializer<Id>, com.google.gson.JsonDeserializer<Id>
Gson.
Uses EntityId as the actual object to be serialized and deserialized.| Constructor and Description |
|---|
IdTypeAdapter() |
public Id deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Id>com.google.gson.JsonParseExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.