Expand Android platform build coverage

This commit is contained in:
2026-06-05 00:14:04 +02:00
parent 841fbac8eb
commit 2feeffd6c8
8 changed files with 88 additions and 29 deletions

View File

@@ -577,7 +577,8 @@ std::string json_escape(std::string_view value)
constexpr char hex[] = "0123456789abcdef";
std::string escaped;
escaped.reserve(value.size());
for (const unsigned char ch : value) {
for (const char raw : value) {
const auto ch = static_cast<unsigned char>(raw);
switch (ch) {
case '"':
escaped += "\\\"";