Skip to content

srs888001/SwiftJSONGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SwiftJSONGenerator

将JSON格式化输出为模型的属性    

####怎么安装:

方式1:下载SwiftJSONGenerator.zip

方式2:解压后放到应用程序中~/Applications 打开

JSON格式

{
    "name": "王五",
    "gender": "man",
    "age": 15,
    "height": "140cm"
}
{
    "name": "王五",
    "gender": "man",
    "age": 15,
    "height": "140cm",
    "addr": {
        "province": "fujian",
        "city": "quanzhou",
        "code": "300000"
    },
    "hobby": [
        {
            "name": "billiards",
            "code": "1"
        },
        {
            "name": "computerGame",
            "code": "2"
        }
    ]
}

####其他:

  • 如在使用过程中需要到问题,请你Issues我。
  • 有什么好的想法也可以Issues我。
  • 如果你半夜睡不着觉也可以Issues我。

Thanks:SwiftyJSONAccelerator

About

通过json数据自动生成swift代码文件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published