Expecting a string but was BEGIN_OBJECT: JsonReader
问题 There are some other answers to this question on here but not sure how to get them to work with my code. I have a lot of JSON to pass so I need to stream it rather than do it all at once. I cannot quite get the errors out of the code. Here is my code: HttpGet request = new HttpGet(getUri + "&" + credentials.getOauthStructure()); HttpResponse response = client.execute(request); ICustomerDAO customerDAO = (ICustomerDAO) DAOFactory.getDAO( ICustomerDAO.class.getName(), context); customerDAO.open