mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Rename toJson to toString/toCompactString for consistency
This commit is contained in:
@ -90,7 +90,7 @@ void SettingsStorage::invalidateNode(const std::vector<std::string> &changedPath
|
||||
JsonUtils::minimize(savedConf, schema);
|
||||
|
||||
std::fstream file(CResourceHandler::get()->getResourceName(JsonPath::builtin(dataFilename))->c_str(), std::ofstream::out | std::ofstream::trunc);
|
||||
file << savedConf.toJson();
|
||||
file << savedConf.toString();
|
||||
}
|
||||
|
||||
JsonNode & SettingsStorage::getNode(const std::vector<std::string> & path)
|
||||
|
Reference in New Issue
Block a user