File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
formats/properties/commonMain/src/kotlinx/serialization/properties
runtime/commonMain/src/kotlinx/serialization Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import kotlinx.serialization.modules.*
34
34
*
35
35
* If the given class has a [List] property `l`, each value from the list
36
36
* 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.
38
38
*
39
39
* @param serializersModule A [SerializersModule] which should contain registered serializers
40
40
* for [Contextual] and [Polymorphic] serialization, if you have any.
Original file line number Diff line number Diff line change 5
5
package kotlinx.serialization
6
6
7
7
import kotlinx.serialization.descriptors.*
8
+ import kotlinx.serialization.descriptors.elementNames
8
9
import kotlinx.serialization.encoding.*
9
10
import kotlinx.serialization.encoding.updateModeDeprecated
10
11
@@ -31,7 +32,7 @@ import kotlinx.serialization.encoding.updateModeDeprecated
31
32
*
32
33
* Structural description specifies how the [T] is represented in the serial form:
33
34
* 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].
35
36
*
36
37
* Serialization process is defined as a sequence of calls to an [Encoder], and transforms a type [T]
37
38
* into a stream of format-agnostic primitives that represent [T], such as "here is an int, here is a double
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ package kotlinx.serialization.json
6
6
7
7
import kotlinx.serialization.*
8
8
import kotlinx.serialization.encoding.*
9
+ import kotlinx.serialization.descriptors.*
9
10
import kotlinx.serialization.encoding.updateModeDeprecated
10
11
11
12
/* *
You can’t perform that action at this time.
0 commit comments