parseListProp
The property to find the array-like data that represents each instance item.
String
parseListData uses this property to find an array-like data struture on the result of getListData.
Use
Set parseListProp if your response data does not look like: {data: [props, props]}.
For example, if getListData returns data like:
{
todos: [{id: 1, name: "dishes"}, {id: 2, name: "lawn"}]
}
Set parseListProp to "todos" like:
connect([
require("can-connect/data/parse/parse"),
require("can-connect/data/url/url")
],{
url : "/todos",
parseListProp: "todos"
});