Join the Stack Overflow Community
Stack Overflow is a community of 6.5 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I am using resource and I have set IsArray = true

But I always get error

Expected response to contain an array but got an object

First object is converted to array but I actually need array in array because I have multidimensional List.

What to do?

share|improve this question
    
Start by providing a Minimal, Complete, and Verifiable example and sample of data – charlietfl 23 hours ago
    
As I understand from your question, maybe the data your api is returning is an object and not an array. Set isArray to false and check. – suzo 23 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.