Parsing A Specific Json Data
i am making a android application n use a .php file to call java script file that returns me a JSON output, now my problem is the output is in a valid JSON format, but i am confuse
Solution 1:
use this to make own model .
http://www.jsonschema2pojo.org/
after making model you can use bwlow code.
Gson gson = newGson();
gson.fromJson(jData, AddPostModel.class);
AddPostModel have all the data which comes from server.
Post a Comment for "Parsing A Specific Json Data"