mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Add Lua function to load a JSON file
This commit is contained in:
@@ -75,6 +75,11 @@ std::string formatJson(T value);
|
||||
*/
|
||||
void sortJson(nlohmann::json& json, const std::string& key);
|
||||
|
||||
/**
|
||||
* Converts the provided JSON object into its corresponding Dictionary format.
|
||||
*/
|
||||
ghoul::Dictionary jsonToDictionary(const nlohmann::json& json);
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
#include "json_helper.inl"
|
||||
|
||||
Reference in New Issue
Block a user