mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Userland: Remove serialize-to-JSON functions only used for Inspector
This commit is contained in:
parent
c756e021a7
commit
3de8dd921e
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