Add submodules, namespace json to prepare for the addition of rapidjson (sigh)

This commit is contained in:
Henrik Rydgård committed 2018-08-13 00:18:54 +02:00
1 parent 42f4d7b40f
commit eddaf97938
12 files changed
+42 -7

No files matched your search

+2
View File
@@ -82,6 +82,8 @@ static bool FindServer(std::string &resultHost, int &resultPort) {
std::string json;
result.TakeAll(&json);
using namespace json;
JsonReader reader(json.c_str(), json.size());
if (!reader.ok()) {
return false;