We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4c3c54 + 103ffb0 commit e1c5b1cCopy full SHA for e1c5b1c
Release/src/json/json.cpp
@@ -357,7 +357,7 @@ bool web::json::details::_String::has_escape_chars(const _String &str)
357
{
358
return std::any_of(std::begin(str.m_string), std::end(str.m_string), [](utility::string_t::value_type const x)
359
360
- if (x >= 0 && x <= 31) { return true; }
+ if (x <= 31) { return true; }
361
if (x == '"') { return true; }
362
if (x == '\\') { return true; }
363
return false;
0 commit comments