Add save to json/yaml (ctrl-w)

This commit is contained in:
2024-10-01 21:40:13 +02:00
parent 9bc83ccd56
commit 3caca13e5c
10 changed files with 101 additions and 8 deletions

View File

@@ -29,5 +29,10 @@ class ObjectNode extends Node implements CollapsibleNode
return new ObjectNode($properties);
}
public function jsonSerialize(): mixed
{
return $this->properties;
}
}