似乎是一项非常容易的任务,但我发现自己很挣扎..我有这个 JSON 响应:
{"data":
{"badParams":
{"arbitraryKey":"arbitraryValue",
"arbitraryKey2":"arbitraryValue2",
"arbitraryKey3":"arbitraryValue3" ,
...
}
}
}
我想解析对 NSDictionary 的响应,其中包含key:value
我在响应中得到的所有对:
NSDictionary *response == {"arbitraryKey":"arbitraryValue",
"arbitraryKey2":"arbitraryValue2",
"arbitraryKey3":"arbitraryValue3",...}
我尝试了 RKDynamicMapping 但无法成功:\
有什么建议吗?