Package-level declarations

Types

Link copied to clipboard
class TypeContext(val serializersModule: SerializersModule, val encodeZeroValues: Boolean, rootTypeContext: TypeContext? = null)

Properties

Link copied to clipboard
val SerialDescriptor.actual: SerialDescriptor

Functions

Link copied to clipboard
fun TypeContext.enum(descriptor: SerialDescriptor): FieldEncoding.EnumReference
Link copied to clipboard
fun TypeContext.field(name: Identifier, number: FieldNumber, annotations: List<Annotation>, descriptor: SerialDescriptor, forceEncodeZeroValue: Boolean = false): Field
Link copied to clipboard
Link copied to clipboard
fun TypeContext.fieldEncoder(type: FieldEncoding, number: FieldNumber, encodeZeroValue: Boolean): (WireBuffer) -> Encoder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun SerialDescriptor.isCompatibleWith(other: SerialDescriptor): Boolean
Link copied to clipboard
fun TypeContext.listField(name: Identifier, number: FieldNumber, descriptor: SerialDescriptor, annotations: List<Annotation>): Field
Link copied to clipboard
fun TypeContext.mapField(name: Identifier, number: FieldNumber, annotations: List<Annotation>, descriptor: SerialDescriptor): Field
Link copied to clipboard
fun TypeContext.messageOfClass(descriptor: SerialDescriptor): FieldEncoding.MessageReference
Link copied to clipboard
Link copied to clipboard
fun TypeContext.namedType(descriptor: SerialDescriptor): FieldEncoding.Reference<*>
Link copied to clipboard
fun TypeContext.optionalListField(descriptor: SerialDescriptor, name: Identifier, number: FieldNumber, annotations: List<Annotation>): Field
Link copied to clipboard
fun TypeContext.optionalMapField(name: Identifier, annotations: List<Annotation>, descriptor: SerialDescriptor, number: FieldNumber): Field
Link copied to clipboard
fun scalar(annotations: List<Annotation>, kind: PrimitiveKind): FieldEncoding
Link copied to clipboard
Link copied to clipboard
fun <T> TypeContext.typeContext(block: TypeContext.() -> T): T