Fixed merge conflicts with master

This commit is contained in:
GPayne
2021-05-20 19:55:49 -06:00
928 changed files with 31104 additions and 35653 deletions

View File

@@ -78,6 +78,10 @@ namespace {
return std::to_string(value.get<double>());
}
else if (value.is_array()) {
if (value.empty()) {
return "{}";
}
std::string literal = "{";
for (nlohmann::json::iterator it = value.begin(); it != value.end(); ++it) {
literal += luaLiteralFromJson(it.value()) += ",";
@@ -87,6 +91,10 @@ namespace {
return literal;
}
else if (value.is_object()) {
if (value.empty()) {
return "{}";
}
std::string literal = "{";
for (nlohmann::json::iterator it = value.begin(); it != value.end(); ++it) {
literal += it.key() + "=" + luaLiteralFromJson(it.value()) += ",";