Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Apr 11, 2017
1 parent e32b6a7 commit 7f6d912
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ Morphism.map(User, data)

// Or Map using the mapper reference
mapUser(data);

/// *** OUTPUT *** ///

[{
'firstName': 'John',
'lastName': 'Smith',
'phoneNumber': '212 555-1234',
'city': 'New York'
}]
```

### As a Mapper factory
Expand Down

0 comments on commit 7f6d912

Please sign in to comment.