Deactivated User
10/30/2020, 12:02 PMDeactivated User
10/30/2020, 12:03 PMDeactivated User
10/30/2020, 12:03 PMCasey Brooks
10/30/2020, 4:39 PMKSerializer
, you’d need to write a custom Encoder
to pass into that KSerializer. The generated kotlinx.serialization code should write into your Encoder the proper structures with field names and values, nested collections, nested objects, etc. Your Encoder would accept those values to build the SQL queries
There are some docs for writing custom formats, which would probably be a good place to start https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/formats.md#custom-formats-experimentalCasey Brooks
10/30/2020, 4:50 PMDeactivated User
10/30/2020, 5:21 PM