CoderMJLee / MJExtension

A fast, convenient and nonintrusive conversion framework between JSON and model. Your model class doesn't need to extend any base class. You don't need to modify any model file.
MIT License
8.52k stars 2.16k forks source link

不支持二维数组json对象转换为模型 #854

Open veryip7 opened 1 year ago

veryip7 commented 1 year ago

在开发中,遇到json中返回的数组是二维数组,第二维数组中才是字典,目前框架的功能不足以解决这个问题 如: "key" : [ ["name":"张三", "value":23], ["name":"李四", "value":28] ]

是否可以增加mj_objectClassInArray方法的功能来解决这个问题呢,比如返回@{@"key" : @"NSArray.Student"}