Parsing JSON in C Posted by dsvr on Monday November 21, 2022 @02:57PM from the vely.dev dept. https://vely.dev/example_json.html ( 1 comment | on HN )
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