Похожие чаты

I am getting this error while parsing data into GSON:

"Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $". What's the issue?

2 ответов

2 просмотра
Praful-Mishra Автор вопроса

Any help?

It seems that you're expexting an array for the parsing ( DataGson[] notices) but your json data begins with an object, not with an array. You can receive the object, store it in a object you design containing the array you want and go forward working with it. AFAIK

Похожие вопросы

Карта сайта