42

GitHub - iosyaowei/JSONConverter: JSONConverter可以快速的把json数据转换生成OC/Sw...

 6 years ago
source link: https://github.com/iosyaowei/JSONConverter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

JSONConverter

JSONConverter 是MAC上iOS开发的辅助小工具,可以快速的把json数据转换生成对应的模型类属性,目前支持Objective-C、Swift以及目前流行的第三方库: SwiftyJSONHandyJSONObjectMapper,可以灵活选择构建class/struct,并支持配置类名前缀等,省去手敲模型的麻烦,借此提高我们的开发效率。

部分功能展示

1.Json转ObectMapper Json转ObectMapper.png

2.Json转Swift-Struct Json转Swift-Struct.png

3.Json转HandyJSON Json转HandyJSON.png

4.Json转SwiftyJSON Json转SwiftyJSON.png

5.Json转ObjectMapper Json转ObhectMapper.png

6.Json转Objective-C Json转Objective-C.png

安装说明

声明

因为,并没有在项目中实际使用过SwiftyJSONObjectMapper,所以并不知道初始化方法构建的是否合理,如果你有更好的建议,欢迎留言,大家共同进步,谢谢!

参考项目


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK