I have this method:
public static Object parseStringToObject(String json) { String Object = json; Gson gson = new Gson(); Object objects = gson.f
In my case, I am Returning JSON Object as
{"data":"","message":"Attendance Saved Successfully..!!!","status":"success"}
Resolved by changing it as
{"data":{},"message":"Attendance Saved Successfully..!!!","status":"success"}
Here data is a sub JsonObject and it should starts from { not ""