mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
Parse JSON as structure #365
This commit is contained in:
@@ -788,7 +788,11 @@ inline bool Var::isEmpty() const
|
||||
|
||||
inline bool Var::isArray() const
|
||||
{
|
||||
return !isEmpty() && !isString();
|
||||
if (isEmpty() ||
|
||||
isString()) return false;
|
||||
|
||||
VarHolder* pHolder = content();
|
||||
return pHolder ? pHolder->isArray() : false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user