I get ther error when JSON string have some blank value, getting from server, how to deal with blank values here is JSON
JSON
{ \"status\":\"succes
Change the type of image_width and image_height to String in MyData Class
public String image_width; public String image_height;
As int will not be able to store "" this string, and at the time of using it you can parse it into int.