From f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 29 Jan 2019 23:41:38 +0100 Subject: API documentation for KVision 0.0.23 --- api/pl.treksoft.kvision.utils/-j-s-o-n/index.html | 18 ++++++++++++++++-- api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html | 2 +- api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html | 2 +- api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html | 15 +++++++++++++++ 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html (limited to 'api/pl.treksoft.kvision.utils/-j-s-o-n') diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html index e5f94e9b..c60bf35a 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html @@ -17,14 +17,28 @@

nonstrict

-val nonstrict: JSON +val nonstrict: Json

plain

-val plain: JSON +val plain: Json + + + +

Functions

+ + + + +
+

toObj

+
+fun <T : Any> T.toObj(): Any +

An extension function to convert Serializable object to JS dynamic object

+
diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html index 485c6161..248c07c4 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html @@ -9,6 +9,6 @@

nonstrict

-val nonstrict: JSON +val nonstrict: Json diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html index f39be14d..866b5b98 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html @@ -9,6 +9,6 @@

plain

-val plain: JSON +val plain: Json diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html new file mode 100644 index 00000000..2821bd05 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html @@ -0,0 +1,15 @@ + + + +JSON.toObj - kvision + + + +kvision / pl.treksoft.kvision.utils / JSON / toObj
+
+

toObj

+ +inline fun <reified T : Any> T.toObj(): Any +

An extension function to convert Serializable object to JS dynamic object

+ + -- cgit