阅读背景:

当数组仅包含一个元素时,JSON响应中的对象数组将作为单个对象接收

来源:互联网 

I am sending back in the response an array of objects from my resource, and when the array contains only one element I cannot loop the array because the response turns out to be a single object instead of array containing one object.I am sending back in the response an array of o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: