JSON Parser Error

  • Replies:2
Manjula
  • 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
James Watson
  • Forum posts: 1,584

May 22, 2019, 10:32:50 AM via Website

I think you can post the screenshots about Android Studio error messages here. Someone maybe will find the error then.

Download size < 0.15 MB. But also accurate enough, ad-free & free.
The minimalist app available on Play Store: https://goo.gl/ws42fN
Blog: https://okblackcafe.blogspot.com Your 5-star is appreciated.

Helpful?
Reply
Manjula
  • Forum posts: 10

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

Hai,

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