1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +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:
Sam Atkins 2022-12-21 11:42:06 +00:00 committed by Tim Flynn
parent efe4329f9f
commit 1dd6b7f5b7
76 changed files with 671 additions and 671 deletions

View file

@ -87,9 +87,9 @@ static Vector<OpenFile> get_open_files_by_pid(pid_t pid)
json.as_array().for_each([pid, &files](JsonValue const& object) {
OpenFile open_file;
open_file.pid = pid;
open_file.fd = object.as_object().get("fd"sv).to_int();
open_file.fd = object.as_object().get_deprecated("fd"sv).to_int();
DeprecatedString name = object.as_object().get("absolute_path"sv).to_deprecated_string();
DeprecatedString name = object.as_object().get_deprecated("absolute_path"sv).to_deprecated_string();
VERIFY(parse_name(name, open_file));
open_file.full_name = name;