json2cpp compiles a json file into static constexpr
data structures that can be used at compile time or runtime.
Features
.cpp
firewall file is provided for you, if you have a large resource and don't want to pay the cost of compiling it more than once (but for normal size files it is VERY fast to compile, they are just data structures)See the test folder for examples for building resources, using the valijson adapter, constexpr usage of resources, and firewalled usage of resources.