I have the following JSON :
String json = "{\n" +
"\n" +
" \"Pessoas\":[\n" +
" {\n" +
" \"NomeHomem\":{\n" +
" \"Idade\":1\n" +
" }\n" +
" },\n" +
" {\n" +
" \"NomeMulher\":{\n" +
" \"Idade\":true\n" +
" }\n" +
" },\n" +
" {\n" +
" \"NomeCrianca\":{\n" +
" \"Idade\":\"string\"\n" +
" }\n" +
" }\n" +
" ]\n" +
"\n" +
"}";
When there is no array like in this case I use a getString("Pessoas");
and it works. But in this case, how to do it?