mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-24 22:09:10 -06:00
Use nlohmann::json for all documentation.
The printout is verified to be the same as before, except for 1) some escape characters which are no longer necessary and 2) strings that contained arrays have now become arrays in the json
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
|
||||
#include <openspace/util/syncable.h>
|
||||
#include <openspace/documentation/documentationgenerator.h>
|
||||
|
||||
#include <openspace/scripting/lualibrary.h>
|
||||
#include <openspace/json.h>
|
||||
#include <ghoul/lua/luastate.h>
|
||||
#include <ghoul/misc/boolean.h>
|
||||
#include <filesystem>
|
||||
@@ -96,6 +96,7 @@ public:
|
||||
std::vector<std::string> allLuaFunctions() const;
|
||||
|
||||
std::string generateJson() const override;
|
||||
nlohmann::json generateJsonJson() const;
|
||||
|
||||
private:
|
||||
BooleanType(Replace);
|
||||
|
||||
Reference in New Issue
Block a user