mirror of
https://github.com/nlohmann/json.git
synced 2024-12-24 13:57:52 +08:00
21d23982ca
A complete rewrite of the string escape function. It now provides codepoint-to-\uxxxx escaping. Invalid UTF-8 byte sequences are not escaped, but copied as-is. I haven’t spent much time optimizing the code - but the library now agrees with Python on every single Unicode character’s escaping (see file test/data/json_nlohmann_tests/all_unicode_ascii.json). Other minor changes: replaced "size_t" by "std::size_t" |
||
---|---|---|
.. | ||
big-list-of-naughty-strings | ||
cbor_regression | ||
json_nlohmann_tests | ||
json_roundtrip | ||
json_tests | ||
json_testsuite | ||
json.org | ||
nst_json_testsuite | ||
regression |