<Retrofit - how I can access object, that has same...
# stackoverflow
u
Retrofit - how I can access object, that has same name in two different api call endpoints? I'm trying to build an app, that connects to the api, for retrieving some specific data for every fragment. I've faced a problem, where I can't retrieve some of the data, because I would have to use @SerializedName("qwe") twice. Here's the example: The api has different endpoints, to retrieve different data, but the json response has same name for json object for two of endpoints. First endpoint: "qwe"{ "X": { "start_rate": 3.3, "end_rate": 2.2, "change": -1.1,...