mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
This commit is contained in:
parent
efe4329f9f
commit
1dd6b7f5b7
76 changed files with 671 additions and 671 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
[[nodiscard]] size_t size() const { return m_members.size(); }
|
||||
[[nodiscard]] bool is_empty() const { return m_members.is_empty(); }
|
||||
|
||||
[[nodiscard]] JsonValue const& get(StringView key) const
|
||||
[[nodiscard]] JsonValue const& get_deprecated(StringView key) const
|
||||
{
|
||||
auto const* value = get_ptr(key);
|
||||
static JsonValue* s_null_value { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue