emberjs/ember.js — Issue #518: Parse JSON Content into Ember.Object with Ember.Arrays
Author: skilesare
Created: 2012-02-21 20:14:13+00:00
State: open

I'd love a function that I can call on the results of an ajax request(or other object) that will do a deep wrapping of my object with emberness. ie:

data = {
title: 'A Movie',
actors: [{name: "john"},{name: "sue"}]
}

If I just do Ember.Object.create(data) I can't do .property('obj.actors.@each.name'). I'd have to unwind the whole object and reconstitue it.