I am facing the following error in parsing JSON data:
Expected begin_array but was STRING at line 1 column 34
I cannot find a solution. My JSON is the follow
the error is in the json you receive: you class expects an array because
List<Person> records;
but then in your json you have
"records":"[
it has to be :
"records": [
and at the end ]"}, has to be
]}