我有一个问题,我有一个包含Array的json数据,如下所示。当我打印出来时,它会按原样显示,但是当我使用该对象时,它会告诉我错误的顺序...请帮助。
//我的数据从服务器显示,如下所示 // ------------------------------------------
{
data ={
sections = (
{
"Account" = 1213;
"Receiver Name" = "ABC";
},
{
Amount = "0.000 USD";
"Cross Currency" = No;
Discount = "0.000 USD";
Fee = "0.000 USD";
}
);
};
}
// -----------------------------------------
///我如何获得该部分数组 让test = data [“ sections”]如? NSArray ?? []
//结果-> print((test))
(
{
"Account" = 1213;
"Receiver Name" = "ABC";
},
{
Fee = "0.000 USD";
Discount = "0.000 USD";
Amount = "0.000 USD";
"Cross Currency" = No;
}
);