I am developing a dynamic form for Android in which you receive a Json file and create the forms. It's all automated, except for the part that I have to get a string in Json's hand. Is there a way to read the string without naming it within .getString
?
"{\"nome\":\"nome\",\"sobrenome\":\"sobrenome\",\"idade\":\"idade\",\"endereco\":\"endereco\",\"pais\":\"pais\"}"
I'm using jo.getString("nome")
for example, and putting inside a string vector, how do I put it in the vector without knowing if inside the json there would be the string "name"?