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.
1 parent 471f4bb commit 4c30fcfCopy full SHA for 4c30fcf
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