Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
 
PREVIOUS NEXT
Tagged: #input #character
ADD COMMENT
Topic
Name
6+3 =