diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-18 09:37:47 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-18 09:37:47 +0200 |
commit | aa3df518e73992defafe58b025f36c6bfae436cd (patch) | |
tree | 5fa5965f3730cb202cb0dd90bc05d54dbd8687dc /AK/JsonObject.h | |
parent | 15fa4f1c55520e929c2eb41d61e16dd818910192 (diff) | |
download | serenity-aa3df518e73992defafe58b025f36c6bfae436cd.zip |
AK: Rename JsonObject::to_string() and pals to serialized().
And the variant that serializes into a StringBuilder is called serialize().
Diffstat (limited to 'AK/JsonObject.h')
-rw-r--r-- | AK/JsonObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/JsonObject.h b/AK/JsonObject.h index 42810e8497..a47d5a9c2b 100644 --- a/AK/JsonObject.h +++ b/AK/JsonObject.h @@ -40,8 +40,8 @@ public: callback(it.key, it.value); } - String to_string() const; - void to_string(StringBuilder&) const; + String serialized() const; + void serialize(StringBuilder&) const; private: HashMap<String, JsonValue> m_members; |