keturn
10/15/2018, 1:00 AMConverter.toJson
implementation works, but it feels like I'm doing something wrong. Should I be creating additional Klaxon()
instances inside toString
and specifying converters for nested fields there?dave08
10/15/2018, 2:30 AMketurn
10/15/2018, 2:35 AMmetadata
that is different from all the following rows
dave08
10/15/2018, 2:46 AMdave08
10/15/2018, 2:49 AMdata class(val firstRow: ...., val layout: Array<...>)
keturn
10/15/2018, 2:50 AMdave08
10/15/2018, 2:50 AMketurn
10/15/2018, 2:53 AMclass KeyboardLayoutSpec: List<SealedClassOfMetadataOrRow>
? I could try that. Haven't yet because it doesn't present a real great picture of things on the Kotlin side. Having its users see it as a sequence that begins with the metadata element would be mostly not good.dave08
10/15/2018, 2:56 AMdave08
10/15/2018, 2:57 AMdave08
10/15/2018, 3:01 AM