These are chat archives for Mashape/unirest-java

26th
Apr 2017
Ogion
@osyanin
Apr 26 11:33
thx. handled.
but now I have some little probem.
Can't parse JSON object. And created much dumb methods for that.
Like:
protected String extractEmail(HttpResponse<JsonNode> request) {
return request.getBody().getObject()
.getJSONObject("data")
.getJSONObject("result")
.getJSONObject("userProfile")
.getString("registrationEmail");
}
miguel de anda
@mdeanda
Apr 26 12:12
Can you make you test with with data from https://jsonplaceholder.typicode.com/ ?