diff --git a/lib/base/value.cpp b/lib/base/value.cpp index ac11f7d31..9b466269b 100644 --- a/lib/base/value.cpp +++ b/lib/base/value.cpp @@ -220,9 +220,14 @@ String Value::GetTypeName(void) const return "String"; case ValueObject: t = static_cast(*this)->GetReflectionType(); - if (!t) - return "Object"; - else + if (!t) { + if (IsObjectType()) + return "Array"; + else if (IsObjectType()) + return "Dictionary"; + else + return "Object"; + } else return t->GetName(); default: return "Invalid";