kotlin-stdlib / kotlin.js / json json JS 1.1 fun json(vararg pairs: Pair<String, Any?>): Json Returns a simple JavaScript object (as Json) using provided key-value pairs as names and values of its properties.