mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:18:12 +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
|
@ -19,7 +19,7 @@ JsonValue JsonPath::resolve(JsonValue const& top_root) const
|
|||
for (auto const& element : *this) {
|
||||
switch (element.kind()) {
|
||||
case JsonPathElement::Kind::Key:
|
||||
root = JsonValue { root.as_object().get(element.key()) };
|
||||
root = JsonValue { root.as_object().get_deprecated(element.key()) };
|
||||
break;
|
||||
case JsonPathElement::Kind::Index:
|
||||
root = JsonValue { root.as_array().at(element.index()) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue