i\'m trying to parse json array response from server. for example i can simply parse this response :
echo json_encode([\'result\' => 0,\'h\'=>1,\'m\'=&
Your result is contian int value...try this
result
int
int result = jsonObject.getInt("result");