summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-j-s-o-n
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-j-s-o-n')
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/index.html61
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html14
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html14
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/to-obj.html18
4 files changed, 107 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html b/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
new file mode 100644
index 00000000..fb5f89cf
--- /dev/null
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
@@ -0,0 +1,61 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>JSON - 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.remote</a>&nbsp;/&nbsp;<a href="./index.html">JSON</a><br/>
+<br/>
+<h1>JSON</h1>
+<code><span class="keyword">object </span><span class="identifier">JSON</span></code>
+<p>JSON utility functions</p>
+<h3>Properties</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<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>
+</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>
+</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><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="identifier" id="pl.treksoft.kvision.remote.JSON$toObj(pl.treksoft.kvision.remote.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.remote.JSON.toObj.T)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code>
+<p>An extension function to convert Serializable object to JS dynamic object</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Extension Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html b/api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html
new file mode 100644
index 00000000..3c286444
--- /dev/null
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>JSON.nonstrict - 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.remote</a>&nbsp;/&nbsp;<a href="index.html">JSON</a>&nbsp;/&nbsp;<a href="./nonstrict.html">nonstrict</a><br/>
+<br/>
+<h1>nonstrict</h1>
+<a name="pl.treksoft.kvision.remote.JSON$nonstrict"></a>
+<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.remote/-j-s-o-n/plain.html b/api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html
new file mode 100644
index 00000000..e6997519
--- /dev/null
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>JSON.plain - 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.remote</a>&nbsp;/&nbsp;<a href="index.html">JSON</a>&nbsp;/&nbsp;<a href="./plain.html">plain</a><br/>
+<br/>
+<h1>plain</h1>
+<a name="pl.treksoft.kvision.remote.JSON$plain"></a>
+<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.remote/-j-s-o-n/to-obj.html b/api/pl.treksoft.kvision.remote/-j-s-o-n/to-obj.html
new file mode 100644
index 00000000..8de7d04d
--- /dev/null
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/to-obj.html
@@ -0,0 +1,18 @@
+<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.remote</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.remote.JSON$toObj(pl.treksoft.kvision.remote.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.remote.JSON.toObj.T)))"></a>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><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="identifier" id="pl.treksoft.kvision.remote.JSON$toObj(pl.treksoft.kvision.remote.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.remote.JSON.toObj.T)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code>
+<p>An extension function to convert Serializable object to JS dynamic object</p>
+<h3>Parameters</h3>
+<p><a name="serializer"></a>
+<code>serializer</code> - a serializer for T</p>
+</BODY>
+</HTML>