Rev 1784 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1784 | Rev 1830 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | public static FilesUploadResult parse(1.5.0/docs/api/java/lang/String.html">String json) |
45 | public static FilesUploadResult parse(1.5.0/docs/api/java/lang/String.html">String json) |
46 | throws 1.5.0/docs/api/java/io/IOException.html">IOException { |
46 | throws 1.5.0/docs/api/java/io/IOException.html">IOException { |
47 | return getGenson().deserialize(json, FilesUploadResult.class); |
47 | return getGenson().deserialize(json, FilesUploadResult.class); |
48 | } |
48 | } |
49 | 49 | ||
- | 50 | public static FileUploaded parseOneFileUploaded(1.5.0/docs/api/java/lang/String.html">String json) |
|
- | 51 | throws 1.5.0/docs/api/java/io/IOException.html">IOException { |
|
- | 52 | return getGenson().deserialize(json, FileUploaded.class); |
|
- | 53 | } |
|
- | 54 | ||
50 | public JSONObject toJsonObj() throws 1.5.0/docs/api/java/io/IOException.html">IOException, JSONException |
55 | public JSONObject toJsonObj() throws 1.5.0/docs/api/java/io/IOException.html">IOException, JSONException |
51 | { |
56 | { |
52 | return new JSONObject(getGenson().serialize(this)); |
57 | return new JSONObject(getGenson().serialize(this)); |
53 | } |
58 | } |
54 | 59 |