Package org.jclouds.json
Interface Json
- All Known Implementing Classes:
GsonWrapper
public interface Json
-
Method Summary
Modifier and TypeMethodDescription<T> T
fromJson
(InputStream json, Charset charset, Class<T> classOfT) Deserialize the object from json.<T> T
fromJson
(InputStream json, Charset charset, Type type) Deserialize the generic object from json.<T> T
Deserialize the object from json.<T> T
Deserialize the generic object from json.Serialize the object into json.Serialize the generic object into json.
-
Method Details
-
toJson
Serialize the object into json. If the object is a generic type, usetoJson(Object, Type)
-
toJson
Serialize the generic object into json. If the object is not a generic, usetoJson(Object, Type)
-
fromJson
Deserialize the generic object from json. If the object is not a generic type, useinvalid reference
#fromJson(Object, Class)
-
fromJson
Deserialize the object from json. If the object is a generic type, useinvalid reference
#fromJson(Object, Type)
-
fromJson
Deserialize the generic object from json. If the object is not a generic type, useinvalid reference
#fromJson(Object, Class)
-
fromJson
Deserialize the object from json. If the object is a generic type, useinvalid reference
#fromJson(Object, Type)
-