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
Dear finnsson,
I got an issue while calling toJSON.
The first executed perfectly
the second console logging fails:
How can I use the toJSON of knockout? What do I miss?
Thanks,
Imre