public static enum JsonUtils.ImmutableMapTypeAdapter extends java.lang.Enum<JsonUtils.ImmutableMapTypeAdapter>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<any> |
deserialize(JsonElement json,
java.lang.reflect.Type type,
JsonDeserializationContext context) |
JsonElement |
serialize(<any> src,
java.lang.reflect.Type type,
JsonSerializationContext context) |
static JsonUtils.ImmutableMapTypeAdapter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonUtils.ImmutableMapTypeAdapter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonUtils.ImmutableMapTypeAdapter INSTANCE
public static JsonUtils.ImmutableMapTypeAdapter[] values()
for (JsonUtils.ImmutableMapTypeAdapter c : JsonUtils.ImmutableMapTypeAdapter.values()) System.out.println(c);
public static JsonUtils.ImmutableMapTypeAdapter valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <any> deserialize(JsonElement json,
java.lang.reflect.Type type,
JsonDeserializationContext context)
throws JsonParseException
JsonParseExceptionpublic JsonElement serialize(<any> src,
java.lang.reflect.Type type,
JsonSerializationContext context)