iOS 工具 json 模型类生成
在开发过程中免不了要和后台交互,常用的数据格式是json,例如: 家谱图
{
"grandfather1": {
"father1": {
"son": {
"grandchild": {
"name": "tom",
"age": 18,
"smart": 1,
"have_girlfriend": 0
},
"name": "Jim",
"age": 40,
"haveBoy": 1,
"wife": "mei"
},
"name": "Dave",
"wife": "yun",
"have_son": 1,
"house": [
"house",
"house1",
"house2"
]
},
"father2": {
"son": {
"grandchild": {
"name": "tom",
"age": 18,
"smart": 1,
"have_girlfriend": 0
},
"name": "Jim",
"age": 40,
"haveBoy": 1,
"wife": "mei"
},
"name": "Dave",
"wife": "yun",
"have_son": 1,
"house": [
"house",
"house1",
"house2"
]
},
"