I have an json like this: But I could not get string objects from “data” tag using volley because there is no any json array to foreach tag. I tired and I search so much examples. I could’nt find any solution from stacoverflow. Any one can help me? Answer I am not familiar with Volley, but a straightforward way is
Tag: jsonparser
How to get path for child in Array[String] returned by Jayway
I have nested json data, like so: And I am using the jayway jsonpath library in Scala to parse it. I could use something like JsonPath.read(myData,”$.libraries[*].genres[*].books[*]”) to get an array of all the books pooled from every library. What I want is to know the path for each book, e.g. “$.libraries(0).genres(1).books(0)”. Is there a ways to get an array of