sheredom / json.h

🗄️ single header json parser for C and C++
The Unlicense
698 stars 77 forks source link

Make json.h a single header library. #66

Closed sheredom closed 4 years ago

sheredom commented 4 years ago

This brings the implementation of json.c into json.h as weak symbols, using a similar approach I've used elsewhere. It means that compile time will be longer when using json.h, but in practice everyone generally includes it in a single file.