lefticus / json2cpp

Compiles JSON into static constexpr C++ data structures with nlohmann::json API
MIT License
259 stars 16 forks source link
cpp cpp17 json json-schema

json2cpp

CI codecov Language grade: C++

json2cpp compiles a json file into static constexpr data structures that can be used at compile time or runtime.

Features

See the test folder for examples for building resources, using the valijson adapter, constexpr usage of resources, and firewalled usage of resources.