How to generate and walk a parse tree?

I need to parse a quite complex JSON dump of a certain Reddit thread. Obviously, the structure is nested in multiple levels since it describes posts, comments, comments on comments and so on.

As I only need a tiny subset of data from the JSON file, I consider modeling the structure of the JSON file with Java classes (like you would do usually) kind of overkill. Also, the file is simply not very easy to understand, let alone to model.

What I need: the content of each post with reference to its...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts