org.json.JSONException: End of input at character

前端 未结 9 1130
南旧
南旧 2020-12-03 18:42

when I try to get json that doesn\'t have object, it works fine. but when I try go get json that has an object it\'s getting error.

Have you got any idea?

         


        
9条回答
  •  眼角桃花
    2020-12-03 19:16

    Sometimes the probleme is the URL, if your website forces HTTPS, you have to make sure that you are using an HTTPS URL in your APP.

    String url = "https://example.com/adchara1/";

提交回复
热议问题