<@U0B8ZP13Q> ``` @Test fun `load gson`() { val...
# klaxon
j
@cedric
Copy code
@Test
fun `load gson`() {
    val raw = Resources.largeData().let { InputStreamReader(it) }
    val type = object : TypeToken<Map<String, Any>>() {}
    LOGGER.timeLogAndReturnValue("Reading in using Gson") {
        Gson().fromJson<Map<String, Any>>(raw, type.type)
    }
}
This takes
7611 Ms