Ожидаемый BEGIN_ARRAY, но был BEGIN_OBJECT в строке 1 столбца 3, синтаксический анализ $ kotlin массива
[
{
"status": true,
"message": "you are logged In.",
"response": {
"id": "8",
"college_id": "DU_85425632",
"name": "David deson",
"title": "M.tech Final Year",
"email": "8800927466",
"username": "Mark648",
"password": "atpl.cc@",
"phone": "8800927466",
"token": "",
"profile_image": "https://campusislands.com/assets/images/user_profile/20812987745a60c322ea61a60001a8e7a4_117395653_(1).jpg",
"cover_image": "",
"privacy_level": "0",
"plan_status": "0",
"status": "1",
"created_date": "2019-07-24 11:34:04 +05:30"
}
}
]
И API
@FormUrlEncoded
@POST("userLogin")
fun login(
@FieldMap map: HashMap<String, String>
): Call<List<Login>>