desseim
10/09/2015, 5:56 PMClass<T>, is that in case of a Class<Map<String, Double>> at runtime it will be a Class<Map erased>, so calling it would was as good as doing fromJson(jsonValue, javaClass<Map<*, *>>()) as Map<String, Double> which in Kotlin now forces you to do explicitly to remove possible misunderstandings.