disable utf-8 escaping in json.stringify by default & add utfEscape argument to json.stringify & update network.post behaviour for pre-serialized data

This commit is contained in:
MihailRis
2025-03-17 00:21:31 +03:00
parent fb4fa2f042
commit a0b0c0a9f0
5 changed files with 33 additions and 16 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ void EngineController::onMissingContent(const std::shared_ptr<ContentReport>& re
if (engine.isHeadless()) {
throw std::runtime_error(
"missing content: " +
json::stringify(create_missing_content_report(report), true)
json::stringify(create_missing_content_report(report), true, " ")
);
} else {
engine.setScreen(std::make_shared<MenuScreen>(engine));