JSON Parser Error

  • Replies:2
  • OpenNot stickiedUnanswered
  • Forum posts: 10

May 21, 2019, 4:13:55 PM via Website

Hai,

      I worked out JSON Parser Example from site **www.tutorialspoint.com/android/android_json_parser.htm**.

But when i tried to execute the app,iam receiving the following error:

E/MainActivity: Response from url:
301 Moved Permanently

301 Moved Permanently



nginx/1.10.3 (Ubuntu)


E/MainActivity: Json Parsing error:Value of type java.lang.String cannot be converted to JSONObject

I cant resolve this error..Can any one pls tell me how to solve this problem?

Reply
  • Forum posts: 10

May 22, 2019, 3:47:59 PM via Website

Hai,

          This is the screenshot of the error message:
Helpful?
Reply