<How I should get name of the property from json r...
# stackoverflow
u
How I should get name of the property from json response? I have some JSON response, which I'd like to display to the user. It has about 170 properties. I'd like to make a hashmap, which will store String, that should store property name, and double, which should store property value "object":{ "firstName" = 1.1111 "SecondName" = 2.2222 etc... } So it should looks like this: key = "first name" and the value = 1.1111 Since I've got it via retrofit, I've prepared a model class which already has declared all of the variables needed to get proper...