I am very new to Java
(and Android
development). To debug, I want to mimic php
var_dump
method. So following some posts, I found and used that inside an activity (that is called when I launch the emulator)
HttpRequest request = execute(HttpRequest.get(URL_USERS));
UsersWrapper response = fromJson(request, UsersWrapper.class);
Field[] fields = response.getClass().getDeclaredFields();
for (int i=0; i<fields.length; i++)
{
System.out.println(fields[i].getName() + " - " + fields[i].get(o));
}
I am using intelliJ
ide, and I have no output of the System.out
How can it be ?