summaryrefslogtreecommitdiff
path: root/AK/JsonObject.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-18 09:37:47 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-18 09:37:47 +0200
commitaa3df518e73992defafe58b025f36c6bfae436cd (patch)
tree5fa5965f3730cb202cb0dd90bc05d54dbd8687dc /AK/JsonObject.h
parent15fa4f1c55520e929c2eb41d61e16dd818910192 (diff)
downloadserenity-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.h4
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;