JS backend: made Json::get and Json::set intrinsic.

(cherry picked from commit b1692e1)
This commit is contained in:
develar
2013-08-08 19:51:49 +04:00
committed by Zalim Bashorov
parent 8867c7a33f
commit 222c05dd00
3 changed files with 6 additions and 16 deletions
+3 -6
View File
@@ -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")