I have this method:
public static Object parseStringToObject(String json) { String Object = json; Gson gson = new Gson(); Object objects = gson.f
In my case, my custom http-client didn't support the gzip encoding. I was sending the "Accept-Encoding: gzip" header, and so the response was sent back as a gzip string and couldn't be decoded.
The solution was to not send that header.