json

fun json(vararg pairs: Pair<String, Any?>): Json (source)

Platform and version requirements: JS

Returns a simple JavaScript object (as Json) using provided key-value pairs as names and values of its properties.