Skip to content

Commit

Permalink
minor readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanhimmelman authored Mar 27, 2017
1 parent 8c0cabc commit c7434a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The `responseObject` function has 3 optional parameters and a required completio
- `mapToObject`: An object to perform the mapping on to
- `completionHandler`: A closure to be executed once the request has finished and the data has been mapped by ObjectMapper.

### Easy Mapping of Nested Objects (Hat Tip to Hearst-DD/ObjectMapper)
### Easy Mapping of Nested Objects

AlamofireObjectMapper supports dot notation within keys for easy mapping of nested objects. Given the following JSON String:
```json
Expand All @@ -113,6 +113,7 @@ func mapping(map: Map) {
distance <- map["distance.value"]
}
```
[See complete documentation](https://github.com/Hearst-DD/ObjectMapper#easy-mapping-of-nested-objects)

### KeyPath

Expand Down

0 comments on commit c7434a6

Please sign in to comment.