java – parsing json Object but data added two times in arralist in android studio kotlin

I am parsing Json data in an Arraylist but data added two times i removed temp.addAll(value) line but Nothing happened.please help me and answers should be in Kotlin if Possible. here is the code Pojo classes: class Restaurant_info ( val id :String?=null, val name :String?=null, val rating : String?=null, val cost_for_one: String?=null, val image_url: String?=null … Read more