error received during json deserialization,help pls

i am trying to deserialize below json response but getting an error while doing so

error i am getting is below;

Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'SPIN.MarketManagement.Common.Models.DTO.MarketResponse' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.

To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection

[[{"Id":"group_a.manual.manual.bacsc1-8ba8-4994-8708-bc2b28b679a7","Version":13,"Name":"4th Shirt Supremacy: Bar/Hen","WebName":"4th Goal Shirt Supremacy: Bar/Hen","Order":110,"IsRestricted":false}]]

Open in new window

that desealization code is not a new function , it is working already with many apis already, but my new function api that i implemented is gettting an error at that function,how can i fix this error
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
It's hard to guess without the relevant code. But maybe you just have not set the correct deserialization attributes in your DTO.
nicedoneAuthor Commented:
@ste5an, i removed one of the '[' from the beginning and one ']' from the end , then it worked but it is a dirty solution which i would not really want to implement how can i get the response return with one [ ] instead of [[  ]] in the json?
ste5anSenior DeveloperCommented:
Okay, this means that your JSON is not what you have used before.. So you should check why your JSON has changed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.