jw
12/07/2022, 9:06 PMencodeDefaults boolean)?jw
12/07/2022, 9:19 PMAdam S
12/07/2022, 11:20 PMjw
12/08/2022, 2:48 AMJsonTupleSerializer since this code is already somewhat performance sensitive, although maybe it won't make a huge difference. I don't actually have benchmarks in place to validate just what kind of an impact it would have.jw
12/08/2022, 2:51 AMEmil Kantis
12/08/2022, 4:35 AMjw
12/08/2022, 4:35 AMjw
12/08/2022, 4:36 AMEmil Kantis
12/08/2022, 4:36 AMjw
12/08/2022, 4:36 AMjw
12/08/2022, 4:37 AMAdam S
12/08/2022, 8:44 AMAdam S
12/08/2022, 8:46 AMjw
12/08/2022, 5:33 PMJsonElement for creating holes in the serialized form that user code can plug in arbitrary values to bring across the boundary encased in the semantics of our protocol. There's nothing impossible for doing that in binary a format as it could be a ByteArray, but it's nice having a semi-structured element still.jw
12/08/2022, 5:33 PMjw
12/08/2022, 5:33 PMDominaezzz
12/08/2022, 8:47 PMjw
12/08/2022, 8:47 PMDominaezzz
12/08/2022, 8:49 PMnull as supposed to being omitted from the array.jw
12/08/2022, 8:50 PMDominaezzz
12/08/2022, 8:57 PMserialDescriptor<JsonArray>() .
Compliance with encodeDefaults should be possible by calling https://github.com/Kotlin/kotlinx.serialization/blob/master/core/commonMain/src/kotlinx/serialization/encoding/Encoding.kt#L352 .Dominaezzz
12/08/2022, 8:59 PM