Version: Available or changed with runtime version 1.0. Is a container for any well-formed JSON object. A default JsonObject contains an empty JSON object. Add(Text, JsonToken) Adds a new property to ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Vivek Yadav, an engineering manager from ...
class JsCall { companion object { fun test(): JsonObject { val res = JsonObject(mutableMapOf()) val response = JsonObject(mutableMapOf()) (response.content as MutableMap).put("data", res) return ...