“Expected BEGIN_OBJECT but was STRING at line 1 column 1”

前端 未结 14 2417
误落风尘
误落风尘 2020-11-22 01:11

I have this method:

public static Object parseStringToObject(String json) {
    String Object = json;
    Gson gson = new Gson();
    Object objects = gson.f         


        
14条回答
  •  野的像风
    2020-11-22 01:51

    if your json format and variables are okay then check your database queries...even if data is saved in db correctly the actual problem might be in there...recheck your queries and try again.. Hope it helps

提交回复
热议问题