Currently I added an own NodeModel and serializing works as expected. However, when trying to deserialize the JSON again, loading of the website crashes and the site is only displayed compeltely white.
In OwnNodeModel I added the deserialize method in which
super.deserialize(event);
is called. However, this line seems to crash.
When I look into the parent (NodeModel) I only find a line:
deserialize(event: DeserializeEvent<this>): void;
Even if I go down to further parents, I only find this "method prototype".
Is there no real deserialize implementation?
What is the correct way to handle this?
Currently I added an own NodeModel and serializing works as expected. However, when trying to deserialize the JSON again, loading of the website crashes and the site is only displayed compeltely white.
In OwnNodeModel I added the deserialize method in which
super.deserialize(event);
is called. However, this line seems to crash. When I look into the parent (NodeModel) I only find a line:deserialize(event: DeserializeEvent<this>): void;
Even if I go down to further parents, I only find this "method prototype". Is there no real deserialize implementation? What is the correct way to handle this?