Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Parsing JSON is a Minefield. Parent comment
Write a recursive descent parser, or use a parser generator.
Or, more realistically, use one of the many libraries available for parsing it (pretty much every language has one at this point).
There are no comments on this comment yet.
Write a recursive descent parser, or use a parser generator.
Or, more realistically, use one of the many libraries available for parsing it (pretty much every language has one at this point).