Learn how to implement a JSON parser in C by attaching functions to structs, providing an ergonomic API, and ensuring it's free from common C issues like segmentation faults and memory leaks. The post also covers useful compiler flags for C projects, the entire process of parsing different JSON values, handling memory, and printing JSON structures.

15m read timeFrom xnacly.me
Post cover image
Table of contents
IdeaVariadic macros to write inline raw JSONRepresenting JSON values in memoryParsing JSON with methods

Sort: