I am getting this response from the server {\"status\":\"true\",\"msg\":\"success\"}
{\"status\":\"true\",\"msg\":\"success\"}
I am trying to parse this json string using Jackson parser library
The problem for me was that I read the response twice as follows:
System.out.println(response.body().string()); getSucherResponse = objectMapper.readValue(response.body().string(), GetSucherResponse.class);
However, the response can only be read once as it is a stream.