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

tschuchort

02/25/2018, 7:11 PM
where can I find documentation and sources for:
org.jetbrains.kotlin.serialization.ProtoBuf
and
org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf
?
s

sandwwraith

02/26/2018, 1:25 PM
That’s not the classes you want –
kotlin.serialization
is internal classes in compiler, and library uses
kotlinX.serialization
package
t

tschuchort

02/26/2018, 11:52 PM
Indeed it is. I am using a hacky library for annotation processing to get info about kotlin types (for example whether they are data classes) and that library relies on ProtoBuf
s

sandwwraith

02/27/2018, 8:57 AM
I’m afraid there is no documentation on it. Some usage of it can be seen here: https://github.com/Kotlin/kotlinx.reflect.lite and you can find sources somewhere in compiler
2 Views