@Singleton public static class CloudStackParserModule.BreakGenericSetAdapter extends Object implements com.google.gson.JsonSerializer<Account>, com.google.gson.JsonDeserializer<Account>
Constructor and Description |
---|
CloudStackParserModule.BreakGenericSetAdapter() |
Modifier and Type | Method and Description |
---|---|
Account |
apply(org.jclouds.cloudstack.config.CloudStackParserModule.BreakGenericSetAdapter.AccountInternal in) |
Account |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(Account src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public CloudStackParserModule.BreakGenericSetAdapter()
public com.google.gson.JsonElement serialize(Account src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<Account>
public Account deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Account>
com.google.gson.JsonParseException
public Account apply(org.jclouds.cloudstack.config.CloudStackParserModule.BreakGenericSetAdapter.AccountInternal in)
Copyright © 2009-2012 jclouds. All Rights Reserved.