<Expected begin_array but was begin_object at line...
# stackoverflow
r
Expected begin_array but was begin_object at line 1 column 2 path $ on Kotlin+Android I called the PetFinder API to get data. When I wanted to show the data on screen I got this error. I used Call sequence to get data and I used enqueue on the ViewModel I tried to use fromJson() method but the code gave me error