Live data from Hacker News

Parsing JSON in C

vely.dev

1–2 of 2 posts

Re: Parsing JSON in C

#2
Simpler way to parse JSON in C with Vely framework.

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