wman1980

Results 6 comments of wman1980

One way to handle that with a custom serializer would be: ``` @Serializable(with = DrmTypeSerializer::class) enum class DrmType(val key: String) { Widevine("widevine"), None("none"); companion object { fun findByKey(key: String, default:...

Hm ... coerceInputValues seems to be the right one, but I could not make it work. E.g. Ihave the following enum: ``` @Serializable enum class ActionType { Ok, Retry, Confirm,...

Ahhh stupid meee! Works superb, forgot to set the flag to true in `val json = Json{ coerceInputValues = true}`. Thanks for the hint!

I ran into a similar issue. Maybe this thread at slack helps: https://kotlinlang.slack.com/archives/C03H3N51SKT/p1683725214780229

Hi everybody, even if its the year 2023 I would like to give my 50 cents to the topic. First some background info why I made some investigations in this...

Hi, I also ran into that leaked ServiceConnection issue. The following disconnect setup fixed it for me: ``` mqttClient?.disconnect(null, object : IMqttActionListener { override fun onSuccess(asyncActionToken: IMqttToken?) { println("Mqtt disconnect...