关于__Array::createWithContentsOfFile问题

既然支持读取.plist 为什么又不支持map类型
很怪异啊·· 是bug 还是设计如初

CCASSERT(_type != Type::VECTOR && _type != Type::MAP && _type != Type::INT_KEY_MAP, “Only base type (bool, string, float, double, int) could be converted”);

求解决方案···

ValueVector arr = FileUtils::getInstance()->getValueVectorFromFile(fileName);

__Array* ret = __Array::createWithCapacity(static_cast<int>(arr.size()));

for(const auto &value : arr) {
    ret->addObject(__String::create(value.asString()));
}

return ret;

貌似这段代码是没写完吧 __Array不可能单单只持持 __String类型吧

在线等啊·~~