mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
LibKeyboard: Replace uses of JsonObject::get_deprecated()/get_ptr()
This commit is contained in:
parent
2fce19a451
commit
6ee68d6e45
1 changed files with 1 additions and 1 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_deprecated(name).as_array();
|
||||
auto map_arr = json.get_array(name).value();
|
||||
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