vendredi 23 octobre 2015

Parse Complex Model with Ember Data

I have a single call to the server that returns the whole data of my application

[
  {
    "id": 1,
    "count": 0,
    "canGroup": true,
    "childs": {
    "group": [
        {
          "id": 0,
          "count": 3,
          "canGroup": true,
          "childs": {
            "user": [
                {
                    "id": 0,
                    "count": 3,
                    "canGroup": true
                }
                ...
            ]
        }
        ...
    }    
    ...
]

How can I do to parse this model with Ember Data?




Aucun commentaire:

Enregistrer un commentaire