In this below code
var productcollection = new Products([this.$results]);
alert(productcollection.length);
here this.$results holds a string more like this
{"ProdID":"98","ProdName":"product1","ProdPic":"null","ProdGist":"null","ProdDesc":"null","ProdCat":"","ProdTech":"","LastModified":""},{"ProdID":"928","ProdName":"product21","ProdPic":"null","ProdGist":"null","ProdDesc":"null","ProdCat":"","ProdTech":"","LastModified":""}
But the length of the collection is returned as "1" . what correction should i make to the models data that i am giving to the collection . So that it returns "2".