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,8 +116,9 @@ public:
|
||||
JsonNode & operator[](size_t child);
|
||||
const JsonNode & operator[](size_t child) const;
|
||||
|
||||
std::string toJson(bool compact = false) const;
|
||||
std::vector<std::byte> toBytes(bool compact = false) const;
|
||||
std::string toCompactString() const;
|
||||
std::string toString() const;
|
||||
std::vector<std::byte> toBytes() const;
|
||||
|
||||
template <typename Handler> void serialize(Handler &h)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user