阅读背景:

创建类和结构来表示Swift中的JSON对象

来源:互联网 

I'm attempting to create classes that correspond to JSON data retrieved in Swift. For nested objects, is it suitable to represent them via structs rather than separate classes? Or should these simply be treated as dictionary objects? So for example below is some JSON:I'm attempting to create classes that correspon




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: