This repository contains a small C implementation of a parser for JSON with
comments (jsonc). The source resides in src/ with a public header in
include/. A minimal test program and sample data live under test/.
The recommended way to build and test the project is via the helper script:
./test.shThis script configures CMake in builddir, compiles the parser and example
program and then runs it against the files in test/data/.
To generate a compile_commands.json for editor integration you can run
./init.sh which creates the file in the project root.
include/– public headerjsonc.hsrc/– parser implementationtest/– simple example program and test datatest.sh– build and regression test scriptinit.sh– utility for generatingcompile_commands.json