mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
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:
parent
fb4fa2f042
commit
a0b0c0a9f0
5 changed files with 33 additions and 16 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue