Skip to content

Commit 0b01b53

Browse files
committed
Add opt-in to JsonConfiguration() constructor call
becuase KT-55074 is fixed in 1.8.20+
1 parent 7b9bfed commit 0b01b53

File tree

1 file changed

+1
-0
lines changed
  • formats/json/commonMain/src/kotlinx/serialization/json

1 file changed

+1
-0
lines changed

formats/json/commonMain/src/kotlinx/serialization/json/Json.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public sealed class Json(
6767
* The default instance of [Json] with default configuration.
6868
*/
6969
@ThreadLocal // to support caching
70+
@OptIn(ExperimentalSerializationApi::class)
7071
public companion object Default : Json(JsonConfiguration(), EmptySerializersModule())
7172

7273
/**

0 commit comments

Comments
 (0)