public class ServiceActionCodec extends AbstractCodec<ServiceAction>
ServiceAction
.Constructor and Description |
---|
ServiceActionCodec() |
Modifier and Type | Method and Description |
---|---|
ServiceAction |
deserialize(com.google.gson.JsonElement json,
Type type,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(ServiceAction action,
Type type,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(ServiceAction action, Type type, com.google.gson.JsonSerializationContext context)
public ServiceAction deserialize(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
com.google.gson.JsonParseException
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.