can we map arrays within mappables?
rlam3 opened this issue · comments
rlam3 commented
can we map arrays within mappables?
meaning there is array inside another mappable? thanks!
Benjamin Chrobot commented
You can map an array like this:
let foo: [String] = try map.from("allUserIds")
ModelMapper supports nested mappables and nested keys.
If those do not help, perhaps you could provide some sample JSON and the object you are trying to map to?
Luke commented
I think we can close this one. If the problem persists still, please open a new issue.