How can I get a List of objects using Unirest for Java?
Besides @scuro's answer, you can also get a list of objects from a response like this:
List<Item> items = Unirest.get("http://localhost:8080/item")
.asObject(new GenericType<List<Item>>(){})
.getBody();
From Unirest Docs.
Don't know if you're still waiting for an answer, but you should use an array. Like this;
HttpResponse<Item[]> itemResponse = Unirest.get("http://localhost:8080/item").asObject(Item[].class);