-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Dear finnsson,
I got an issue while calling toJSON.
console.log( ko.toJSON( theViewModel ) );
pager.extendWithPage( theViewModel );
console.log( ko.toJSON( theViewModel ) );
The first executed perfectly
{"personal":{"sex":"male", ....
the second console logging fails:
TypeError: JSON.stringify cannot serialize cyclic structures.
How can I use the toJSON of knockout? What do I miss?
Thanks,
Imre
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels