JsonToken::asObject() behaves in interesting ways given the following json:
In our code, we're getting access violation exceptions due to bogus pointer values, and the attached patch to UtilityJsonTest produces an odd error message:
Utility::JsonToken::find(): token is a parsed Utility::JsonToken::Type::Number, expected a parsed object
corrade-14-15-21.patch
JsonToken::asObject()behaves in interesting ways given the following json:{ }In our code, we're getting access violation exceptions due to bogus pointer values, and the attached patch to UtilityJsonTest produces an odd error message:
corrade-14-15-21.patch