Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
state
/
com.monkopedia.kodemirror.state
/
EditorSelection
/
toJSON
to
JSON
fun
toJSON
(
)
:
Map
<
String
,
Any
>
Deprecated
Use toData() with kotlinx.serialization instead.
Replace with
toData()
Content copied to clipboard
Convert this selection to a JSON object.