添加了FetchInfo

This commit is contained in:
Kirigaya Kazuto 2017-03-09 12:45:22 +08:00
parent 1013b1de70
commit 18c74e335f

View File

@ -1,5 +1,3 @@
import com.google.gson.Gson;
class AppJsonData class AppJsonData
{ {
private String type; private String type;
@ -113,16 +111,12 @@ class FetchData extends UploadData
} }
} }
class FetchInfo
/*
public class JsonStudy
{ {
public static void main(String[] args) public String bookname;
{ public String author;
String jsonData="{'type':'register','email':'test@163.com','nickname':'Kirito','school':'QUST','pwass':'dvaLovesU'}"; public String context;
Gson gson=new Gson(); public String imageURL;
RegisterData data=gson.fromJson(jsonData, RegisterData.class); public String label;
System.out.println("Email:"+data.getEmail()+" NickName:"+data.getNickname()+" School:"+data.getSchool()+" Password:"+data.getPass()); public int ret;
}
} }
*/