public class JpcConfigurationDeserializer extends Object implements com.google.gson.JsonDeserializer<JpcConfiguration>
Modifier and Type | Field and Description |
---|---|
static String |
ENGINE_CONFIGURATIONS_PROPERTY_NAME |
Constructor and Description |
---|
JpcConfigurationDeserializer() |
Modifier and Type | Method and Description |
---|---|
JpcConfiguration |
deserialize(com.google.gson.JsonElement json,
Type type,
com.google.gson.JsonDeserializationContext context) |
static JpcConfiguration |
fromJson(String json) |
static com.google.gson.Gson |
getContext() |
public static final String ENGINE_CONFIGURATIONS_PROPERTY_NAME
public static com.google.gson.Gson getContext()
public static JpcConfiguration fromJson(String json)
public JpcConfiguration deserialize(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<JpcConfiguration>
com.google.gson.JsonParseException
Copyright © 2014. All rights reserved.