Skip to content

无法转换Optional;toDict问题 #8

Description

@lxlx5434
  1. 在parse2中:
    var bag: Bag
    改为:
    var bag: Bag?
    运行崩溃。
  2. toDict方法得到的数据类型是[String: Any],Int、Double、String等等都转成了字符串,丢失了数据类型;无法使用该dict转换到model。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions