tylerwilson
12/16/2019, 3:04 PM@Serializable(with = CustomDoubleSerializer::class)
since there are a large number of these formatted doubles. Thank you.tylerwilson
12/16/2019, 3:05 PMval hooked = serializersModuleOf(Double::class, CustomDoubleSerializer)
val hookedparser = Json(configuration = JsonConfiguration.Stable.copy(strictMode = false, useArrayPolymorphism = true), context = hooked)
val response = hookedparser.parse(GetStatsResponse.serializer(), result)
but it does not hit my custom parser when parsing the outer object.