0
如何在Restkit 2.0中像這樣映射json
。我無法找到一個教程和所有教程有以前的版本。我知道它如何在0.10.0中完成,但沒有一個想法如何爲此陣列和嵌套數組在0.20.0Restkit映射0.2
{
"days" : [
{
"day" : 1,
"id" : 1,
"set1" : [
{
"exercise_id" : 1,
"exerciseunits" : [
{
"count" : 3,
"id" : 1,
"weight" : 60
}
],
"id" : 1,
"name" : null,
"subbodypart_id" : 1,
"subbodypartname" : "Chest"
}
]
}
],
"description" : "desc",
"id" : 1,
"name" : "asdfg"
}