Answers for "org.json.jsonexception: end of input at character 0 of"

1

org.json.jsonexception: end of input at character 0 of

Change

 JSONObject jsonObject = new JSONObject(result);
to

result=getJSONUrl(url);  //<< get json string from server
JSONObject jsonObject = new JSONObject(result);
Posted by: Guest on February-26-2021

Code answers related to "org.json.jsonexception: end of input at character 0 of"

Code answers related to "Javascript"

Browse Popular Code Answers by Language