summaryrefslogtreecommitdiff
path: root/AK/JsonValue.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/JsonValue.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/JsonValue.h')
-rw-r--r--AK/JsonValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/JsonValue.h b/AK/JsonValue.h
index 2d37614513..50ddcf49c6 100644
--- a/AK/JsonValue.h
+++ b/AK/JsonValue.h
@@ -39,8 +39,8 @@ public:
JsonValue(const JsonArray&);
JsonValue(const JsonObject&);
- String to_string() const;
- void to_string(StringBuilder&) const;
+ String serialized() const;
+ void serialize(StringBuilder&) const;
String as_string() const
{