mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +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
|
@ -49,6 +49,7 @@ public:
|
|||
ErrorOr<void> decode(double&);
|
||||
ErrorOr<void> decode(String&);
|
||||
ErrorOr<void> decode(ByteBuffer&);
|
||||
ErrorOr<void> decode(JsonValue&);
|
||||
ErrorOr<void> decode(URL&);
|
||||
ErrorOr<void> decode(Dictionary&);
|
||||
ErrorOr<void> decode(File&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue