data =
{
"cId":9595,
"histories":[
{
"cId":9595,
"jobTitle":"lifeguard",
"jobDesc":"watch people and the pool, cleaning the pool"
},
{
"cId":9595,
"jobTitle":"constructor",
"jobDesc":"I lay down pavement marking on road. this means thermoplastic, tape, and paint."
}
]
}
function FormData (data) {
var self = this;
ko.mapping.fromJS(data, {}, self);
}
It fails because the "jobTitle":"constructor". It works if "jobTitle":"SOMETHING ELSE"
It fails because the
"jobTitle":"constructor"
. It works if"jobTitle":"SOMETHING ELSE"