Moritz Post
09/24/2021, 3:19 PMJavier
09/24/2021, 3:28 PMBig Chungus
09/24/2021, 3:28 PMJavier
09/24/2021, 3:28 PMBig Chungus
09/24/2021, 3:29 PMJavier
09/24/2021, 3:29 PMMoritz Post
09/24/2021, 3:30 PMJavier
09/24/2021, 3:31 PMMoritz Post
09/24/2021, 3:31 PMJavier
09/24/2021, 3:31 PMMoritz Post
09/24/2021, 3:31 PMJavier
09/24/2021, 3:32 PMJavier
09/24/2021, 3:32 PMJavier
09/24/2021, 3:32 PMMoritz Post
09/24/2021, 3:32 PMMoritz Post
09/24/2021, 3:33 PMJavier
09/24/2021, 3:33 PMMoritz Post
09/24/2021, 3:33 PMMoritz Post
09/24/2021, 3:34 PMAny
. the entire library though does not like the type Any
Big Chungus
09/24/2021, 3:35 PMJavier
09/24/2021, 3:35 PMMoritz Post
09/24/2021, 3:35 PMMoritz Post
09/24/2021, 3:35 PMJavier
09/24/2021, 3:36 PMJavier
09/24/2021, 3:36 PMBig Chungus
09/24/2021, 3:36 PMMoritz Post
09/24/2021, 3:36 PMMoritz Post
09/24/2021, 3:37 PM["create", true, {more: "properties"]
Big Chungus
09/24/2021, 3:37 PMJavier
09/24/2021, 3:37 PMsealed class Something {
data class one(...) : Something()
data class two(...) : Something()
}
data class data(val list: List<Something>)
Moritz Post
09/24/2021, 3:37 PMMoritz Post
09/24/2021, 3:39 PMclass Operation(val type: String, val active: Boolean, properties: Map<String, Any>)
Javier
09/24/2021, 3:39 PMsealed class Something {
data class One(val myString: String) : Something()
data class Two(val myBoolean: Boolean) : Something()
data class Three(val more: Properties) : Something
}
data class Properties(val more: String)
Moritz Post
09/24/2021, 3:40 PMBig Chungus
09/24/2021, 3:40 PMJavier
09/24/2021, 3:40 PMMoritz Post
09/24/2021, 3:41 PMBig Chungus
09/24/2021, 3:41 PMJavier
09/24/2021, 3:41 PMMoritz Post
09/24/2021, 3:42 PMJavier
09/24/2021, 3:43 PMMoritz Post
09/24/2021, 3:43 PMAny
can not be deserialied, it can also not be serialized as lengthily discoursed here: https://github.com/Kotlin/kotlinx.serialization/issues/746Moritz Post
09/24/2021, 3:44 PMJavier
09/24/2021, 3:45 PMJavier
09/24/2021, 3:45 PMJavier
09/24/2021, 3:47 PMAny
which is not used with a generic (i.e: <T : Any>
) that doesn't look like a smellMoritz Post
09/24/2021, 3:47 PMJavier
09/24/2021, 3:48 PMJavier
09/24/2021, 3:48 PMBig Chungus
09/24/2021, 3:48 PMMoritz Post
09/24/2021, 3:48 PMJavier
09/24/2021, 3:48 PMMoritz Post
09/24/2021, 3:50 PMMoritz Post
09/24/2021, 3:51 PMMoritz Post
09/24/2021, 3:52 PMAny
topic.Javier
09/24/2021, 3:52 PMMoritz Post
09/24/2021, 3:53 PMJavier
09/24/2021, 3:54 PMJavier
09/24/2021, 3:55 PMJavier
09/24/2021, 3:55 PMMoritz Post
09/24/2021, 3:56 PMJavier
09/24/2021, 3:57 PMJavier
09/24/2021, 3:57 PMMoritz Post
09/24/2021, 3:58 PMJavier
09/24/2021, 3:58 PMJavier
09/24/2021, 3:58 PMMoritz Post
09/24/2021, 3:59 PMJavier
09/24/2021, 3:59 PMMoritz Post
09/24/2021, 3:59 PMJavier
09/24/2021, 3:59 PMMoritz Post
09/24/2021, 4:01 PMRichard Gomez
09/24/2021, 4:58 PMdata class (a: A, b: B)
) where b
needs to be a specific implementation based on the value of a
. (Admittedly from a terrible vendor API)
• Deserializing a flat top-level array as a class https://kotlinlang.slack.com/archives/C7A1U5PTM/p1629821041132400)
• Writing hundreds of @SerialNames
manually to convert snake_case to camelCase (https://github.com/Kotlin/kotlinx.serialization/issues/33)
• Getting the raw JSON value of a key
(I hope this doesn't come across as overly negative. I greatly appreciate the work that the team & community have put into it.)Colton Idle
09/27/2021, 2:48 AMthanksforallthefish
09/27/2021, 6:15 AMMoritz Post
09/27/2021, 8:32 AMMoritz Post
09/27/2021, 8:33 AMthanksforallthefish
09/27/2021, 10:11 AM