Chlumsky/json-cpp-gen
A generator of JSON parser & serializer C++ code from structure header files
This tool helps C++ developers automatically create code that can convert C++ data structures into JSON format and vice-versa. You provide a C++ header file containing your `struct` definitions, and it generates efficient parser and serializer classes. This is for C++ developers who need to exchange data with systems that use JSON, without manually writing conversion code.
Use this if you are a C++ developer needing to reliably and efficiently convert complex C++ structs to and from JSON data without writing repetitive boilerplate code.
Not ideal if you need to work with heterogeneous JSON objects, C++ classes with private members, or template structures, as these are not supported.
Stars
27
Forks
3
Language
C++
License
—
Category
Last pushed
Feb 13, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Chlumsky/json-cpp-gen"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
howerj/dbcc
CAN DBC to C (and CSV, JSON and XML) compiler using the mpc parser combinator library
JhnW/devana
Python package to parse and generate C/C++ code as context aware preprocessor.
biojppm/regen
Easy C++ reflection and code generation
SoftSec-KAIST/CodeAlchemist
CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines (NDSS '19)
Samsung/UTopia
UT based automated fuzz driver generation