mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 20:58:16 +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
Notes:
sideshowbarker
2024-07-17 01:34:39 +09:00
Author: https://github.com/AtkinsSJ
Commit: 1dd6b7f5b7
Pull-request: https://github.com/SerenityOS/serenity/pull/17044
76 changed files with 671 additions and 671 deletions
|
@ -103,7 +103,7 @@ bool JsonValue::equals(JsonValue const& other) const
|
|||
if (is_object() && other.is_object() && as_object().size() == other.as_object().size()) {
|
||||
bool result = true;
|
||||
as_object().for_each_member([&](auto& key, auto& value) {
|
||||
result &= value.equals(other.as_object().get(key));
|
||||
result &= value.equals(other.as_object().get_deprecated(key));
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue