saving a Date object in the nodeDataArray and serializing it to JSON will persist the date as an obejct:
while the default JSON.stringify method will produce a simple string value:
See here for a live example: GoJS Sample for JSFIDDLE - JSFiddle - Code Playground
Can I influence how goJS converts to Date to JSON? I would prefer to serialize it to a string instead of an object.
As I am not directly using this value in the goJS diagram (using it in another part of the application) but only want to persist it in the model, I assume I cannot use bindings for this purpose? Is there another way?
I am using goJS 1.7 beta.