How to get JSON ARRAY and JSON object response from retrofit response?
问题 I have worked with file upload using retrofit. It works fine. But how do handle the retrofit success response. and How do i create serialization model class for below Json array and Json object. { "result": [{ "fileId": 869, "status": 1, "pcData": { "id": 652, "filename": "IMG_20161122_175344.jpg", "filepath": "uploads\/peoplecaddie\/files\/1743_1481109145_IMG_20161122_175344.jpg" } }] } Here is My call method Call<ServerResponse> call = service.upload("817b6ce98fd759e7f148b948246df6c1", map,