The Json which came from the server contains some refs like this:
[
{
id:"1",
name:"Mehran",
supervisor:
{
id:"2",
name: "Ayaz",
supervisor: null
}
},
{
id:"3",
name:"Ramin",
supervisor: {$ref="1"}
}
]
How does knockout mapping's fromJS
or fromJson
interpret this?