Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6976

Convert toIncrementalJson to GoJS object?

$
0
0

@estesbubba wrote:

Is there a way to convert the output from toIncrementJson back into a GoJS object? I tried this but it gives me a complete model and not just an object of the changes.

go.Model.fromJson(e.model.toIncrementalJson(e))

Using standard JSON works but gives me an object instead of a go.Point for location. I'm sure I can work around this, but if there is a GoJS util to do this, let me know.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6976