We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02fe708 + 4c30fcf commit 8c93430Copy full SHA for 8c93430
formats/json/commonMain/src/kotlinx/serialization/json/Json.kt
@@ -44,7 +44,7 @@ import kotlin.native.concurrent.*
44
* val deserializedFromTree: DataHolder = json.decodeFromJsonElement<DataHolder>(jsonTree)
45
*
46
* // Deserialize from string to JSON tree, JSON-specific
47
- * val deserializedToTree: JsonElement = json.parseJsonElement(stringOutput)
+ * val deserializedToTree: JsonElement = json.parseToJsonElement(stringOutput)
48
* ```
49
50
* Json instance also exposes its [configuration] that can be used in custom serializers
0 commit comments