I have a nested EmberJS model hierarchy:
{
name: 'abc',
type: 123,
rules: {
condition1 : 'value1',
condition2: 'value2'
subrule: {
subcondition1: 'value1',
subcondition2: 'value2'
}
}
I am not using Ember DS. The problem is to give the model object arrays to a previewer which consumes JSON and not a typical get/set API of Ember Objects.