i'm trying to parse this JSON string that returns the ids of movies from this api "https://rapidapi.com/apidojo/api/online-movie-database/" but i get a error
[
"/title/tt1649418/",
"/title/tt10954984/",
"/title/tt9114286/",
"/title/tt10648342/",
"/title/tt4471908/"
]
into this object
data class PopularMovies(
val popularMovies: ArrayList<String>
)
but it throws me with
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2
please anyone can help me?