I've followed along the given example and tried passing the JSON NSDictonary but I'm getting an error saying that my struct is does not conform to Codeable
{
"data": [
{
"id": 1,
"attributes": {
"name": "",
"description": "",
"address": "",
"rate": 0,
"features": null,
"rate_computation_period": "",
"category": "",
"available": true,
}
}
],
"meta": {
"pagination": {
"page": 1,
"pageSize": 25,
"pageCount": 1,
"total": 1
}
}
}