Expand Android platform build coverage
This commit is contained in:
@@ -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 += "\\\"";
|
||||
|
||||
Reference in New Issue
Block a user