// 1.(JSON轉(zhuǎn)模型)JSON -> User
User *user = [User mj_objectWithKeyValues:dict];
// 2.(JSONString轉(zhuǎn)模型)JSONString -> User
User *user = [User mj_objectWithKeyValues:jsonString];
// 3.(模型中嵌套模型)JSON -> Status
Status *status = [Status mj_objectWithKeyValues:dict];
// 4.(模型中有個(gè)數(shù)組屬性瞧柔,數(shù)組里面又有其他模型)JSON -> StatusResult
StatusResult *result = [StatusResult mj_objectWithKeyValues:dict];
一扳埂、JSON轉(zhuǎn)模型
字符串轉(zhuǎn)模型
二容为、JSON字符串轉(zhuǎn)模型
F41C3A91-CD99-437D-B95D-6D26A12967A1.png
三、模型中嵌套模型
F94313D0-D394-402F-9348-E788211BD722.png
四隔箍、模型中有個(gè)數(shù)組屬性田轧,數(shù)組里面又要裝著其他模型
模型中有個(gè)數(shù)組屬性,數(shù)組里面又要裝著其他模型