Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Function<com.google.gson.JsonElement,ICondition> |
FUNCTION_OR_AND |
private static com.google.common.base.Function<java.util.Map.Entry<java.lang.String,com.google.gson.JsonElement>,ICondition> |
FUNCTION_PROPERTY_VALUE |
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
Selector |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
(package private) static ICondition |
getOrAndCondition(com.google.gson.JsonObject json) |
private ICondition |
getWhenCondition(com.google.gson.JsonObject json) |
private static ConditionPropertyValue |
makePropertyValue(java.util.Map.Entry<java.lang.String,com.google.gson.JsonElement> entry) |
private static final com.google.common.base.Function<com.google.gson.JsonElement,ICondition> FUNCTION_OR_AND
private static final com.google.common.base.Function<java.util.Map.Entry<java.lang.String,com.google.gson.JsonElement>,ICondition> FUNCTION_PROPERTY_VALUE
public Selector deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Selector>
com.google.gson.JsonParseException
private ICondition getWhenCondition(com.google.gson.JsonObject json)
static ICondition getOrAndCondition(com.google.gson.JsonObject json)
private static ConditionPropertyValue makePropertyValue(java.util.Map.Entry<java.lang.String,com.google.gson.JsonElement> entry)