fixed GH #1521: bug in JSON ParseHandler.cpp (empty keys should be valid)

This commit is contained in:
Guenter Obiltschnig
2016-12-29 11:22:16 +01:00
parent b506a30c0d
commit ad37bc3516
3 changed files with 33 additions and 1 deletions

View File

@@ -133,7 +133,6 @@ void ParseHandler::setValue(const Var& value)
}
else if ( parent.type() == typeid(Object::Ptr) )
{
poco_assert_dbg(!_key.empty());
Object::Ptr obj = parent.extract<Object::Ptr>();
obj->set(_key, value);
_key.clear();