如何从JSON数组中获取字符串数组?

时间:2017-05-07 06:04:30

标签: ios arrays json swift web-services

好吧,我有一个服务器响应:

{
 cars =     (
 {
 "color" = red;
 "model" = ferrari;
 "othersAtributes" = others atributes;
 },{
 "color" = blue;
 "model" = honda;
 "othersAtributes" = others atributes;
 },{
 "color" = green;
 "model" = ford;
 "othersAtributes" = others atributes;
 },{
 "color" = yellow;
 "model" = porshe;
 "othersAtributes" = others atributes;
 }
 )
 }

我需要一个模型车列表。一系列模型车,设置为列表。

0 个答案:

没有答案