mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
AK+LibIPC: Add a convenience encoder/decoder for JsonValue
This requires that JsonValue is implicitly default-constructible.
This commit is contained in:
parent
08750f69e4
commit
3994a79718
5 changed files with 21 additions and 1 deletions
|
@ -35,7 +35,8 @@ public:
|
|||
|
||||
static ErrorOr<JsonValue> from_string(StringView);
|
||||
|
||||
explicit JsonValue(Type = Type::Null);
|
||||
JsonValue() = default;
|
||||
explicit JsonValue(Type);
|
||||
~JsonValue() { clear(); }
|
||||
|
||||
JsonValue(JsonValue const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue