I am trying to parse the json
object to get the dynamic keys and values and set them to RecyclerView
in my application. And also I want to get the key or value when user clicks the recyclerview
child.
{
"status": 200,
"message_type": "info",
"car_types": {
"sports_car": "BMW",
"sports_car": "lamborghini",
"classic_car": "benz",
"luxary_car": "bently cooper",
"suv": "Range Rover",
"Other": "Other"
}
}