mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Ladybird: Add a helper to deserialize a JSON string to an NSDictionary
The steps here are a tad verbose, and will be needed several times in the Inspector window.
This commit is contained in:
parent
507dea5fdd
commit
33b006f157
2 changed files with 19 additions and 0 deletions
|
@ -19,6 +19,8 @@ namespace Ladybird {
|
|||
String ns_string_to_string(NSString*);
|
||||
NSString* string_to_ns_string(StringView);
|
||||
|
||||
NSDictionary* deserialize_json_to_dictionary(StringView);
|
||||
|
||||
Gfx::IntRect ns_rect_to_gfx_rect(NSRect);
|
||||
NSRect gfx_rect_to_ns_rect(Gfx::IntRect);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue