Package cn.leancloud.gson
Class JSONObjectAdapter
java.lang.Object
com.google.gson.TypeAdapter<JSONObject>
cn.leancloud.gson.JSONObjectAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader reader) voidwrite(com.google.gson.stream.JsonWriter writer, JSONObject object) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
JSONObjectAdapter
public JSONObjectAdapter()
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<JSONObject>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<JSONObject>- Throws:
IOException
-