Lobsters

Parsing JSON at compile time with C++26 static reflection

Suppose that you have a configuration file in JSON. Something like this: { "width": 1920, "height": 1080, "fullscreen": true, "title": "My Game", "volume": 0.8 } Normally you ship this file alongside your program, open it at startup, read it, and parse it....

More stories

More stories load automatically as you scroll.