Skip to content

Commit 8c93430

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents 02fe708 + 4c30fcf commit 8c93430

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import kotlin.native.concurrent.*
4444
* val deserializedFromTree: DataHolder = json.decodeFromJsonElement<DataHolder>(jsonTree)
4545
*
4646
* // Deserialize from string to JSON tree, JSON-specific
47-
* val deserializedToTree: JsonElement = json.parseJsonElement(stringOutput)
47+
* val deserializedToTree: JsonElement = json.parseToJsonElement(stringOutput)
4848
* ```
4949
*
5050
* Json instance also exposes its [configuration] that can be used in custom serializers

0 commit comments

Comments
 (0)