https://developer.mozilla.org/en/JSON (cherry picked from commit f91d3a8)

This commit is contained in:
develar
2012-06-19 19:28:58 +04:00
parent 06ecb45004
commit 3e491ba7f1
+10 -1
View File
@@ -21,4 +21,13 @@ library("jsonFromTuples")
fun json2(pairs : Array<Tuple2<String, Any?>>) : Json = js.noImpl
library("jsonAddProperties")
fun Json.add(other : Json) : Json = js.noImpl
fun Json.add(other : Json) : Json = js.noImpl
native
trait JsonClass {
fun stringify(o: Any): String = noImpl
fun parse<T>(text: String): T = noImpl
}
native
val JSON:JsonClass = noImpl