toJSON

fun toJSON(): Map<String, Any>

Deprecated

Use toData() with kotlinx.serialization instead.

Replace with

toData()

Convert this selection to a JSON object.