-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
solution: invalidthe issue is not related to the librarythe issue is not related to the library
Description
Hello.
if (j[SUBPR_DESCR].is_array()) {
if (j[SUBPR_DESCR].at(0).is_string() == false)
return json::parse(error_code + "Wrong values type of subprojects key!\"}");
} else if (!j[SUBPR_DESCR].is_null() && !j[SUBPR_DESCR].is_array()) {
return json::parse(error_code + "Corrupted or absent subprojects key!\"}");
}
After invoking such function on json object data with key SUBPR_DESCR appearing with value "none".
[offtop] Lol, horrible char * to string casting at the bottom of image 🐹 [/offtop]
Metadata
Metadata
Assignees
Labels
solution: invalidthe issue is not related to the librarythe issue is not related to the library