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 -2
View File
@@ -1162,8 +1162,8 @@ void Config::DownloadCompletedCallback(http::Download &download) {
return;
}
JsonReader reader(data.c_str(), data.size());
const JsonGet root = reader.root();
json::JsonReader reader(data.c_str(), data.size());
const json::JsonGet root = reader.root();
if (!root) {
ERROR_LOG(LOADER, "Failed to parse json");
return;