What's the most efficient way to convert a JSON in the format of Map<String, Any>
to the corresponding java/kotlin object?
For now I have to use it like that which seems like a stupid implementation.
gson.fromJson(gson.toJson(mapToConvert), typeToken)
Any suggestions?