org.jclouds.json.config
Class GsonModule.NullHackJsonBallAdapter

java.lang.Object
  extended by com.google.gson.TypeAdapter<L>
      extended by org.jclouds.json.internal.NullHackJsonLiteralAdapter<JsonBall>
          extended by org.jclouds.json.config.GsonModule.NullHackJsonBallAdapter
Enclosing class:
GsonModule

public static class GsonModule.NullHackJsonBallAdapter
extends NullHackJsonLiteralAdapter<JsonBall>


Constructor Summary
GsonModule.NullHackJsonBallAdapter()
           
 
Method Summary
protected  JsonBall createJsonLiteralFromRawJson(String json)
          User supplied type that holds json literally.
 
Methods inherited from class org.jclouds.json.internal.NullHackJsonLiteralAdapter
read, write
 
Methods inherited from class com.google.gson.TypeAdapter
nullSafe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GsonModule.NullHackJsonBallAdapter

public GsonModule.NullHackJsonBallAdapter()
Method Detail

createJsonLiteralFromRawJson

protected JsonBall createJsonLiteralFromRawJson(String json)
Description copied from class: NullHackJsonLiteralAdapter
User supplied type that holds json literally. Ex. number as 8, boolean as true , string as "value", object as , list {@code []}.

Specified by:
createJsonLiteralFromRawJson in class NullHackJsonLiteralAdapter<JsonBall>


Copyright © 2009-2012 jclouds. All Rights Reserved.