JS backend: made Json::get and Json::set intrinsic.
(cherry picked from commit b1692e1)
This commit is contained in:
@@ -2,12 +2,9 @@ package js
|
||||
|
||||
import js.library
|
||||
|
||||
native
|
||||
public class Json() {
|
||||
library("jsonGet")
|
||||
fun get(parameterName: String): Any?
|
||||
library("jsonSet")
|
||||
fun set(parameterName: String, value: Any?): Unit
|
||||
native public class Json() {
|
||||
fun get(propertyName: String): Any? = js.noImpl
|
||||
fun set(propertyName: String, value: Any?): Unit = js.noImpl
|
||||
}
|
||||
|
||||
library("jsonFromTuples")
|
||||
|
||||
Reference in New Issue
Block a user