Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wcxdell authored Jun 28, 2016
1 parent b25e8a8 commit f488204
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
## 复杂字典转模型
```
NSDictionary *dic = @{
@"name":@"changxu",
@"studentId":@"2016",
@"age":@24,
@"doubleProperty":@12.25,
@"date":@"2016-12-13",
@"smallStudent":@{
@"name":@"changxu",
@"age":@24
},
@"studentArray":@[
@{
@"name":@"changxu",
@"studentId":@"2015"
},
@{
@"age":@14,
@"date":@"1992-02-18"
}
]
@"name":@"changxu",
@"studentId":@"2016",
@"age":@24,
@"doubleProperty":@12.25,
@"date":@"2016-12-13",
@"smallStudent":@{
@"name":@"changxu",
@"age":@24
},
@"studentArray":@[
@{
@"name":@"changxu",
@"studentId":@"2015"
},
@{
@"age":@14,
@"date":@"1992-02-18"
}
]
};
Student *student = [Student objectWithJSON:dic];
```
Expand Down

0 comments on commit f488204

Please sign in to comment.