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:
Ylva Selling
2023-01-10 17:20:20 -05:00
parent 424eb256b0
commit 38fee89eec
11 changed files with 177 additions and 105 deletions

View File

@@ -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);