I need to assign a javascript object to a ko observable. This object has 75 properties and if I write something like this:
viewmodel.myprop(obj);
it takes very very time and web page crashes.
I thought a work around using a for loop iterating on object properties but I can't write correctly assignment instruction:
for(property in obj){
// ????
}
How can I do this?
Thank you