Skip to content

Commit 5bb1e13

Browse files
committed
Fix CompositeDecoder.decodeSequentially() documentation
(based on #2787)
1 parent c645f52 commit 5bb1e13

File tree

1 file changed

+1
-1
lines changed
  • core/commonMain/src/kotlinx/serialization/encoding

1 file changed

+1
-1
lines changed

core/commonMain/src/kotlinx/serialization/encoding/Decoding.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public interface CompositeDecoder {
359359
* Sequential decoding is a performance optimization for formats with strictly ordered schema,
360360
* usually binary ones. Regular formats such as JSON or ProtoBuf cannot use this optimization,
361361
* because e.g. in the latter example, the same data can be represented both as
362-
* `{"i": 1, "d": 1.0}`"` and `{"d": 1.0, "i": 1}` (thus, unordered).
362+
* `{"i": 1, "d": 1.0}` and `{"d": 1.0, "i": 1}` (thus, unordered).
363363
*/
364364
@ExperimentalSerializationApi
365365
public fun decodeSequentially(): Boolean = false

0 commit comments

Comments
 (0)