https://kotlinlang.org logo
#serialization
Title
# serialization
r

routis

11/18/2023, 9:23 AM
Hi, Does anybody know if there are plans to actually support CBOR, beyond experimental feature status? I think it would be very useful to have a sealed hierarchy similar to
JsonElement
something like
CborDataItem
d

Dominaezzz

11/18/2023, 5:13 PM
There are plans for it but the developers are mostly focused on getting the K2 compiler and plugin out.
r

routis

11/18/2023, 6:22 PM
@Dominaezzz Indeed K2 is the reasonable priority. I hope that at some point there will be some better support for CBOR. Mapping to data classes is not so important for this format. On the other hand a nice hierarchy of DataItem's and a DSL similar to Json would be valuable.