Skip to content

Commit 59699a3

Browse files
committed
Add imports required for Dokka task
1 parent 8928872 commit 59699a3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

formats/properties/commonMain/src/kotlinx/serialization/properties/Properties.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import kotlinx.serialization.modules.*
3434
*
3535
* If the given class has a [List] property `l`, each value from the list
3636
* would be prefixed with `l.N.`, where N is an index for a particular value.
37-
* [Map] is treated as a [key,value,...] list.
37+
* [Map] is treated as a `[key,value,...]` list.
3838
*
3939
* @param serializersModule A [SerializersModule] which should contain registered serializers
4040
* for [Contextual] and [Polymorphic] serialization, if you have any.

runtime/commonMain/src/kotlinx/serialization/KSerializer.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package kotlinx.serialization
66

77
import kotlinx.serialization.descriptors.*
8+
import kotlinx.serialization.descriptors.elementNames
89
import kotlinx.serialization.encoding.*
910
import kotlinx.serialization.encoding.updateModeDeprecated
1011

@@ -31,7 +32,7 @@ import kotlinx.serialization.encoding.updateModeDeprecated
3132
*
3233
* Structural description specifies how the [T] is represented in the serial form:
3334
* its [kind][SerialKind] (e.g. whether it is represented as a primitive, a list or a class),
34-
* its [elements][SerialDescriptor.elementDescriptors] and their [positional names][SerialDescriptor.getElementName].
35+
* its [elements][SerialDescriptor.elementNames] and their [positional names][SerialDescriptor.getElementName].
3536
*
3637
* Serialization process is defined as a sequence of calls to an [Encoder], and transforms a type [T]
3738
* into a stream of format-agnostic primitives that represent [T], such as "here is an int, here is a double

runtime/commonMain/src/kotlinx/serialization/json/JsonDecoder.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package kotlinx.serialization.json
66

77
import kotlinx.serialization.*
88
import kotlinx.serialization.encoding.*
9+
import kotlinx.serialization.descriptors.*
910
import kotlinx.serialization.encoding.updateModeDeprecated
1011

1112
/**

0 commit comments

Comments
 (0)