0

I want to write an algorithm to parse JSON of a unknown length using python. The highly nested JSON object contains comments to a post and some "comment threads" go longer than others so the resulting nested dictionaries should be of varying length. I probably need some kind of recursive algorithm to walk down each "branch" of the JSON tree but don't know where to even start with this. Can someone just point me in the right direction?

martineau
  • 119,623
  • 25
  • 170
  • 301
e1v1s
  • 365
  • 6
  • 18

0 Answers0