Add save to json/yaml (ctrl-w)
This commit is contained in:
@@ -27,5 +27,10 @@ class ArrayNode extends Node implements CollapsibleNode
|
||||
return new ArrayNode($items);
|
||||
}
|
||||
|
||||
public function jsonSerialize(): mixed
|
||||
{
|
||||
return array_values($this->items);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user