mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Rename toJson to toString/toCompactString for consistency
This commit is contained in:
@@ -116,7 +116,7 @@ JsonNode toJson(QVariant object)
|
||||
void JsonToFile(QString filename, QVariant object)
|
||||
{
|
||||
std::fstream file(qstringToPath(filename).c_str(), std::ios::out | std::ios_base::binary);
|
||||
file << toJson(object).toJson();
|
||||
file << toJson(object).toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user