Quickly parse your CastleDB for use in your C++ codebase. It supports hot reload!
Include the files located in the .src/ folder in your codebase, then instantiate the CastleDBConverter class constructor to retrieve the data.
CastleDBConverter converter("res/helloworld.json");
Then extract your data, a nice feature is that you can grab only the fields you need.
//sheet name //fields
data_db = converter.extract_data("HelloWorld", {"Name", "X", "Y", "Char"});
Use the update method to check for updates in the file for hot reload support
if(converter.update("res/helloworld.json")){
//your code
}
Thanks for ncannasse for the creation of CastleDB and to nlohmann for json parser