Restkit mapping for array with no keypath

前端 未结 1 933
春和景丽
春和景丽 2020-12-07 02:45

How can I create an object mapping for a JSON response like this, which is just an array of integers:

 [
 565195,
 565309,
 565261,
 565515,
 565292,
 565281         


        
相关标签:
1条回答
  • 2020-12-07 03:24

    You need to perform a nil keypath mapping. Check the 'Mapping Values without Key Paths' section here.

    0 讨论(0)
提交回复
热议问题