mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2025-07-03 03:25:25 +00:00
add nlohmann/json
this will conflict with a change in the http branch, but i dont care right now
This commit is contained in:
parent
b72de4bd0a
commit
f26ca6b40d
5
.gitmodules
vendored
5
.gitmodules
vendored
@ -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
|
||||
url = https://github.com/yhirose/cpp-httplib
|
||||
[submodule "deps/json"]
|
||||
path = deps/json
|
||||
url = https://github.com/nlohmann/json
|
||||
|
1
deps/json
vendored
Submodule
1
deps/json
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit eb2182414749825be086c825edb5229e5c28503d
|
@ -7,13 +7,15 @@
|
||||
#include <any>
|
||||
#include <sstream>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "LuaAPI.h"
|
||||
|
||||
#undef GetObject // Fixes Windows
|
||||
|
||||
#include "Json.h"
|
||||
|
||||
namespace json = rapidjson;
|
||||
namespace json = nlohmann::json;
|
||||
|
||||
TServer::TServer(const std::vector<std::string_view>& Arguments) {
|
||||
beammp_info("BeamMP Server v" + Application::ServerVersionString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user