I get ther error when JSON
string have some blank value, getting from server,
how to deal with blank values
here is JSON
{
\"status\":\"succes
public int image_width; // Expected integer value while parsing
public int image_height; // Expected integer value while parsing
as you can see below you are having string fields . Initialize below vale to 0
"image_width":0,
"image_height":0
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.