mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
Userland: Remove serialize-to-JSON functions only used for Inspector
This commit is contained in:
parent
c756e021a7
commit
3de8dd921e
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/awesomekling
Commit: 3de8dd921e
Pull-request: https://github.com/SerenityOS/serenity/pull/18493
Reviewed-by: https://github.com/FireFox317
8 changed files with 0 additions and 112 deletions
|
@ -174,14 +174,6 @@ void Object::deferred_invoke(Function<void()> invokee)
|
|||
Core::deferred_invoke([invokee = move(invokee), strong_this = NonnullRefPtr(*this)] { invokee(); });
|
||||
}
|
||||
|
||||
void Object::save_to(JsonObject& json)
|
||||
{
|
||||
for (auto& it : m_properties) {
|
||||
auto& property = it.value;
|
||||
json.set(property->name(), property->get());
|
||||
}
|
||||
}
|
||||
|
||||
JsonValue Object::property(DeprecatedString const& name) const
|
||||
{
|
||||
auto it = m_properties.find(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue