AK+Everywhere: Remove now-unecessary use of ByteString with JSON types

This removes JsonObject::get_byte_string and JsonObject::to_byte_string.
This commit is contained in:
Timothy Flynn 2025-02-17 15:04:56 -05:00 committed by Tim Flynn
commit 2c03de60da
Notes: github-actions[bot] 2025-02-21 00:28:59 +00:00
17 changed files with 67 additions and 86 deletions

View file

@ -77,7 +77,6 @@ public:
Optional<bool> get_bool(StringView key) const;
Optional<String const&> get_string(StringView key) const;
Optional<ByteString> get_byte_string(StringView key) const;
Optional<JsonObject&> get_object(StringView key);
Optional<JsonObject const&> get_object(StringView key) const;
@ -114,8 +113,6 @@ public:
template<typename Builder>
void serialize(Builder&) const;
[[nodiscard]] ByteString to_byte_string() const;
private:
OrderedHashMap<String, JsonValue> m_members;
};