diff --git a/.gitmodules b/.gitmodules index 178fa5a..b54a97b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -21,4 +21,7 @@ url = https://github.com/nih-at/libzip [submodule "deps/cpp-httplib"] path = deps/cpp-httplib - url = https://github.com/yhirose/cpp-httplib \ No newline at end of file + url = https://github.com/yhirose/cpp-httplib +[submodule "deps/json"] + path = deps/json + url = https://github.com/nlohmann/json diff --git a/deps/json b/deps/json new file mode 160000 index 0000000..eb21824 --- /dev/null +++ b/deps/json @@ -0,0 +1 @@ +Subproject commit eb2182414749825be086c825edb5229e5c28503d diff --git a/src/TServer.cpp b/src/TServer.cpp index 0f1ad32..8f389cf 100644 --- a/src/TServer.cpp +++ b/src/TServer.cpp @@ -7,13 +7,15 @@ #include #include +#include + #include "LuaAPI.h" #undef GetObject // Fixes Windows #include "Json.h" -namespace json = rapidjson; +namespace json = nlohmann::json; TServer::TServer(const std::vector& Arguments) { beammp_info("BeamMP Server v" + Application::ServerVersionString());