my requirement is to be able to loop through the following JsonNode and its elements:
Each iteration should present a JsonNode with its elements until no JsonNode object is found. I have started with the following:
Is this a valid approach? Ultimately, I would like to get each element in the JsonNode with its associated values. Ideally, my function should return a JsonNode. Down the line, I would also like to use the id in a repository query, so what would be the best approach? Shall I convert it into a Map? Something along these lines:
Can you help? I am not quite sure how to go about it.
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad: