← Docs
kotlin-stdlib / kotlin.js / add

add

JS
1.1
fun Json . add ( other : Json ) : Json
(source)

Adds key-value pairs from other to this . Returns the original receiver.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .