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
+4 -1
View File
@@ -11,6 +11,9 @@ namespace json {
dv::value parse(std::string_view source);
std::string stringify(
const dv::value& value, bool nice, const std::string& indent=" "
const dv::value& value,
bool nice,
const std::string& indent = " ",
bool escapeUtf8 = false
);
}