Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Parsing JSON in C.
See how to get a JSON request from the web, either from an HTML form (via POST) or JavaScript (application/json) request body.
The example shows parsing JSON in two different ways: traversing the whole document, or extracting the exact fields you need.
The example is a list of cities, within states, within countries.
Disclosure: I am Vely's creator. - Sergio
There are no comments on this comment yet.
See how to get a JSON request from the web, either from an HTML form (via POST) or JavaScript (application/json) request body.
The example shows parsing JSON in two different ways: traversing the whole document, or extracting the exact fields you need.
The example is a list of cities, within states, within countries.
Disclosure: I am Vely's creator. - Sergio