- Forum posts: 10
May 21, 2019, 4:13:55 PM via Website
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?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.