by the way, you might find it more elegant to use ...
# getting-started
k
by the way, you might find it more elegant to use a TypeToken to get your type for Gson
Copy code
val indexToAliasMappings = Gson().fromJson(response.jsonString, object: TypeToken<LinkedTreeMap<String, Map<String, Map<*, *>>>>() {})