Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

parseModel and arrays

$
0
0
My REST service is returning an array for some attributes and it seems that Model's parseModel (under the hood using attributes converterI believe) is converting any array into a Can.List. Is there a way to avoid this, leave them as an array? I'm trying to preserve a bunch of existing code that is treating it as an array (items[x], etc.)

Thank you,
Mark 

Viewing all articles
Browse latest Browse all 3491

Trending Articles