public class PluginsAlertConditionSerializer extends Object implements com.google.gson.JsonSerializer<PluginsAlertCondition>
Constructor and Description |
---|
PluginsAlertConditionSerializer() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize(PluginsAlertCondition condition,
Type type,
com.google.gson.JsonSerializationContext context)
Gson invokes this call-back method during serialization when it encounters a field of the specified type.
|
public com.google.gson.JsonElement serialize(PluginsAlertCondition condition, Type type, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<PluginsAlertCondition>
condition
- The alert condition being serializedtype
- The type of the Object to deserialize tocontext
- The JSON serialization contextCopyright © 2018. All rights reserved.