Skip to content

出现一次模型嵌套解析失败的情况 #14

Closed
@starrymood

Description

@starrymood

import ReerCodable

@codable
@snakecase
struct ListModel {
var showChange: String
var title: String
var showColumnName: String
var columnType: String
@CompactDecoding
var list: [temModel]
}

@codable
@snakecase
struct temModel {
var playletId: String
/// 背景图
var background: String
/// 标题
var title: String
}

list 一直是空

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions