toChangeSetJSON

Deprecated

Legacy JSON serialization, removed in the next major release. Serialize the change set with kotlinx.serialization instead.

Serialize this change set to a JSON-representable value.

Part of the legacy toJSON/fromJSON cluster scheduled for coordinated removal in the next major release, together with EditorState.toJSON (State.kt), EditorState.fromJSON (State.kt), SelectionRange.toJSON/SelectionRange.fromJSON and EditorSelection.toJSON/EditorSelection.fromJSON (Selection.kt), and Text.toJSON (Text.kt).