Hello!
I must retrieve data from a web API that serves JSON. I do not have control over it and the served JSON is not compliant with ember store format (please see hereunder). Is there any way to get Ember Data to store records without ID ? Or how could I get it to automatically add ID’s to records upon retrieval ? I would need IDs on “charts” and “points” items since I have a “chart” Model and a “point” Model in my Ember app.
Here is a short example of the data I receive from the WS
"charts": [
{
"key": "group1",
"points": [
{
"xValue": 1,
"yValue": 21
},
{
"xValue": 20,
"yValue": 150
}
]
},
{
"key": "group2",
"points": [
{
"xValue": 1,
"yValue": 54
},
{
"xValue": 20,
"yValue": 126
}
]
}
]