mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48: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
|
@ -63,7 +63,7 @@ Vector<u32> CharacterMapFile::read_map(JsonObject const& json, DeprecatedString
|
|||
Vector<u32> buffer;
|
||||
buffer.resize(CHAR_MAP_SIZE);
|
||||
|
||||
auto map_arr = json.get(name).as_array();
|
||||
auto map_arr = json.get_deprecated(name).as_array();
|
||||
for (size_t i = 0; i < map_arr.size(); i++) {
|
||||
auto key_value = map_arr.at(i).as_string();
|
||||
if (key_value.length() == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue