json - How to map JSONArray to Model using MJExtension -
i got jsonobject this:
{ "id":123, "coordinate": [ 116.414503, 39.945575 ], } i have defined coordinate model:
//coordinate.h @property (nonatomic, assign) float lng; @property (nonatomic, assign) float lat; and target model:
//target.h @property (nonatomic, assign) int id; @property (nonatomic, strong) coordinate *coordinate; question how corresponding target class?
thanks!
Comments
Post a Comment