mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix JSON array parser separators (#819)
This commit is contained in:

committed by
Florian Rival

parent
2d314ff51b
commit
87acba5105
@@ -461,7 +461,7 @@ size_t ParseJSONObject(const std::string& jsonStr,
|
||||
{
|
||||
std::string str;
|
||||
size_t endPos = pos;
|
||||
const std::string separators = " \n,}";
|
||||
const std::string separators = " \n,}]";
|
||||
while (endPos < jsonStr.length() &&
|
||||
separators.find_first_of(jsonStr[endPos]) == std::string::npos) {
|
||||
endPos++;
|
||||
|
Reference in New Issue
Block a user