How can this happen? ``` companion object { ...
# announcements
a
How can this happen?
Copy code
companion object {
        val favoritesListType by lazy {
            object : TypeToken<List<Pair<String, Int>>>() {}.type
        }
    }

fun load() {
  val json = [{"first":"156706392","second":0},{"first":"156704910","second":9}]

  val storedArticlePositions: List<Pair<String, Int>>? = gson.fromJson<List<Pair<String, Int>>>(json, favoritesListType)
}
storedArticlePositions turns out to be a ArrayList<Pair<String, Double>>