Skip to content

模型转字典,出现问题了 #846

Description

@kedu

就是我的模型里面是一个子模型,但是实际的模型实体类这个子模型是一个数组,现在转出来就不是json了。发现在这里加个判断就好了。if (!type.isFromFoundation && propertyClass),加上![value isKindOfClass:[NSArray class]].麻烦评估一下影响,谢谢

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