org.jclouds.json.config
Class GsonModule.JsonBallAdapterImpl
java.lang.Object
org.jclouds.json.config.GsonModule.JsonBallAdapterImpl
- All Implemented Interfaces:
- com.google.gson.JsonDeserializer<JsonBall>, com.google.gson.JsonSerializer<JsonBall>, GsonModule.JsonBallAdapter
- Enclosing class:
- GsonModule
@Singleton
public static class GsonModule.JsonBallAdapterImpl
- extends Object
- implements GsonModule.JsonBallAdapter
Method Summary |
JsonBall |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
|
com.google.gson.JsonElement |
serialize(JsonBall src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GsonModule.JsonBallAdapterImpl
public GsonModule.JsonBallAdapterImpl()
serialize
public com.google.gson.JsonElement serialize(JsonBall src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interface com.google.gson.JsonSerializer<JsonBall>
deserialize
public JsonBall deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interface com.google.gson.JsonDeserializer<JsonBall>
- Throws:
com.google.gson.JsonParseException
Copyright © 2009-2011 jclouds. All Rights Reserved.