mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups.
This commit is contained in:
@@ -677,7 +677,8 @@ Json::Value STObject::getJson(int options) const
|
||||
{
|
||||
if (it.getName() == NULL)
|
||||
ret[boost::lexical_cast<std::string>(index)] = it.getJson(options);
|
||||
else ret[it.getName()] = it.getJson(options);
|
||||
else
|
||||
ret[it.getName()] = it.getJson(options);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user