public class TransformationRuleSerializer extends Object implements com.google.gson.JsonSerializer<TransformationRuleDescription>, com.google.gson.JsonDeserializer<TransformationRuleDescription>
| Constructor and Description |
|---|
TransformationRuleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
TransformationRuleDescription |
deserialize(com.google.gson.JsonElement json,
Type typeInfo,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(TransformationRuleDescription src,
Type type,
com.google.gson.JsonSerializationContext context) |
public TransformationRuleDescription deserialize(com.google.gson.JsonElement json, Type typeInfo, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<TransformationRuleDescription>com.google.gson.JsonParseExceptionpublic com.google.gson.JsonElement serialize(TransformationRuleDescription src, Type type, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<TransformationRuleDescription>Copyright © 2019. All rights reserved.