I am using Realm
as mobile database and LoganSquare
to parse the json data.
i want to parse below mentioned json block return from third party service.
{
"code": 406,
"message": "Not Acceptable",
"errors": [
"Invalid date range: End date is before start date."
]
}
but not sure how would i parse array of error and design error model that has no property name.