Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Parse JSON recursively with nested structure by value  RSS feed

 
Arthur Kushman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, sorry for disturbing with such a theme, but I couldn`t code it my self completely.

Need to parse every id element and compare it by value, when the element is found - grab all block with that id in there, some sort of filter.



And json, it is just a sample - file is in attachment:



Need help to program it recursively right, without errors.
Thanks in advance.
 
Priyanka Gour
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Did you get any solution for this recurrsion?
I am also facing the same issue.
I have one json response which has array's inside array's . I want to fetch all the values of a given tag.

If it is resolved, Can you please share that piece of code with me?
Thanks in advance.

Thanks,
Priyanka
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!