summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.utils
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-01-29 23:41:38 +0100
committerRobert Jaros <rjaros@finn.pl>2019-01-29 23:41:38 +0100
commitf23e74c2eb0cae2f6ce674881e86ab5d5659ad77 (patch)
treef10995bb0d1179c65829b5e175e7b1de8dbe834e /api/pl.treksoft.kvision.utils
parenta81c549e277d1a07e87cf8e2eecf89662deda323 (diff)
downloadkvision-f23e74c2eb0cae2f6ce674881e86ab5d5659ad77.tar.gz
kvision-f23e74c2eb0cae2f6ce674881e86ab5d5659ad77.tar.bz2
kvision-f23e74c2eb0cae2f6ce674881e86ab5d5659ad77.zip
API documentation for KVision 0.0.23
Diffstat (limited to 'api/pl.treksoft.kvision.utils')
-rw-r--r--api/pl.treksoft.kvision.utils/-j-s-o-n/index.html18
-rw-r--r--api/pl.treksoft.kvision.utils/-j-s-o-n/nonstrict.html2
-rw-r--r--api/pl.treksoft.kvision.utils/-j-s-o-n/plain.html2
-rw-r--r--api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html15
4 files changed, 33 insertions, 4 deletions
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 @@
<p><a href="nonstrict.html">nonstrict</a></p>
</td>
<td>
-<code><span class="keyword">val </span><span class="identifier">nonstrict</span><span class="symbol">: </span><span class="identifier">JSON</span></code></td>
+<code><span class="keyword">val </span><span class="identifier">nonstrict</span><span class="symbol">: </span><span class="identifier">Json</span></code></td>
</tr>
<tr>
<td>
<p><a href="plain.html">plain</a></p>
</td>
<td>
-<code><span class="keyword">val </span><span class="identifier">plain</span><span class="symbol">: </span><span class="identifier">JSON</span></code></td>
+<code><span class="keyword">val </span><span class="identifier">plain</span><span class="symbol">: </span><span class="identifier">Json</span></code></td>
+</tr>
+</tbody>
+</table>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="to-obj.html">toObj</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a></code>
+<p>An extension function to convert Serializable object to JS dynamic object</p>
+</td>
</tr>
</tbody>
</table>
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 @@
<br/>
<h1>nonstrict</h1>
<a name="pl.treksoft.kvision.utils.JSON$nonstrict"></a>
-<code><span class="keyword">val </span><span class="identifier">nonstrict</span><span class="symbol">: </span><span class="identifier">JSON</span></code>
+<code><span class="keyword">val </span><span class="identifier">nonstrict</span><span class="symbol">: </span><span class="identifier">Json</span></code>
</BODY>
</HTML>
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 @@
<br/>
<h1>plain</h1>
<a name="pl.treksoft.kvision.utils.JSON$plain"></a>
-<code><span class="keyword">val </span><span class="identifier">plain</span><span class="symbol">: </span><span class="identifier">JSON</span></code>
+<code><span class="keyword">val </span><span class="identifier">plain</span><span class="symbol">: </span><span class="identifier">Json</span></code>
</BODY>
</HTML>
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 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>JSON.toObj - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.utils</a>&nbsp;/&nbsp;<a href="index.html">JSON</a>&nbsp;/&nbsp;<a href="./to-obj.html">toObj</a><br/>
+<br/>
+<h1>toObj</h1>
+<a name="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T)"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a></code>
+<p>An extension function to convert Serializable object to JS dynamic object</p>
+</BODY>
+</HTML>