1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:58:10 +00:00

AK: Ban JsonValue from the kernel and remove ifdef guards

JsonValue can store JsonObject which uses DS for keys, so it is not safe
to use it in the kernel even with the double/String guards.
This commit is contained in:
Dan Klishch 2023-11-13 22:10:20 -05:00 committed by Andreas Kling
parent d3b3e49e19
commit c0ffff7e88
2 changed files with 9 additions and 47 deletions

View file

@ -6,7 +6,6 @@
#include <AK/JsonArraySerializer.h>
#include <AK/JsonObjectSerializer.h>
#include <AK/JsonValue.h>
#include <Kernel/Devices/TTY/TTY.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/ProcFS/Inode.h>