【发布时间】:2016-07-27 12:45:14
【问题描述】:
我收到这样的回复:
{
"status": "Success",
"data": [{
"careTypeId": "10",
"careTypeName": "Vacation Care",
"daysOfinterest": ["Monday", "Tuesday"],
"childDaysOfInterestId": "212"
}, {
"careTypeId": "10",
"careTypeName": "Vacation Care",
"daysOfinterest": ["Monday", "Tuesday", "Thursday"],
"childDaysOfInterestId": "202"
}],
"message": "ChildDaysOf Interest"
}
在此响应中,我需要访问数据数组并从中获取daysOfInterest 数组。
【问题讨论】:
-
它看起来像是一个字符串数组,而不是 json 数组。向我们展示您的模型类。