I am using object mapper library in swift fro parsing JSON to object and I have a JSON which looks like this:
"_links" : {
"category.genres": {
"href" : "http://dev.abcd.com/api/v1/categories/series/genres"
}
}
I am trying to map href to model but I am not able to find any solution here. I tried to do
genreLink <- (map["_links"]["category.genres",nested: false]["genres"],urlTransform)
But it doesn't work, Please guide. Thanks