Is there some easy way to convert protobuf message into JSON when using Kotlin? I have found multiple ways using JsonFormat
in Java but this package does not seem to be available in Kotlin.
val myProto = MyProto.newBuilder().setId("id").build()
val json: String = ???