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

Compliment to parseModel to massage data before sending?

$
0
0
We ave a server that returns and expects the json for a given object to be nested:
{todo: {name: 'foo'}}

parseModel will de-serialize this just fine. What is the appropriate pattern for serializing a can.model instance back before posting?

Thank you,
Mark

Viewing all articles
Browse latest Browse all 3491

Trending Articles