在使用Retrofit进行后期处理请求时收到此错误[重复]

problem/error :- com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 . I referred this blog on StackoverFlow.

我的JSON响应正确吗?

{ "message": "Sucessful", "Ads": [ { "ads_id": 18, "image": "http://poli.cf/API/upload_images/e1c5f1d.jpg", "pet_name": "Tommy", "species": "Dog", "gender": "Male", "location": "Mumbai", "address": "Ghat", "phone_num": "1231234337", "timings": "3pm-6pm", "price": "200" },//// more data

评论