Hello. Required to obtain on request data from two random users of Github. I request the page from GitHub in such type . I use Retrofit. The interface describes the request in this form
@GET("/user?since/{number}") Call<GithubUser>[] getListOfUsers(@Path("number") int number); GithubUser is described as a single-user POJO.
Tell me how to get the result of the query in the form of an array of type GithubUser?