Quantcast
Viewing all articles
Browse latest Browse all 4828

Model with type attribute

@Ayoros_42 wrote:

Hi,

My API return a JSON like this one:

{
    "question"
   {
      "content": "abc",
      "type": "number"
   }
}

The attribute "type" seems to be deleted by ember, how i can update the json key "type" before ember delete it ?

I cannot modify the API behavior.

In an serializer ? In what method ?

Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles