1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

AK: Rename JsonObject::to_string() and pals to serialized().

And the variant that serializes into a StringBuilder is called serialize().
This commit is contained in:
Andreas Kling 2019-06-18 09:37:47 +02:00
parent 15fa4f1c55
commit aa3df518e7
7 changed files with 20 additions and 20 deletions

View file

@ -19,8 +19,8 @@ public:
void clear() { m_values.clear(); }
void append(const JsonValue& value) { m_values.append(value); }
String to_string() const;
void to_string(StringBuilder&) const;
String serialized() const;
void serialize(StringBuilder&) const;
private:
Vector<JsonValue> m_values;