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.html28
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html2
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html2
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/to-obj.html4
4 files changed, 12 insertions, 24 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
index fb5f89cf..2703fd52 100644
--- a/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
@@ -8,21 +8,23 @@
<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>
+(js) <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>
+(js)
+<h4><a href="nonstrict.html">nonstrict</a></h4>
</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>
+(js)
+<h4><a href="plain.html">plain</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">plain</span><span class="symbol">: </span><span class="identifier">Json</span></code></td>
@@ -34,26 +36,12 @@
<tbody>
<tr>
<td>
-<p><a href="to-obj.html">toObj</a></p>
+(js)
+<h4><a href="to-obj.html">toObj</a></h4>
</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>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">T</span><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><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code></td>
</tr>
</tbody>
</table>
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
index 3c286444..2e910fbf 100644
--- a/api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/nonstrict.html
@@ -8,7 +8,7 @@
<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>
+(js) <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
index e6997519..b485d036 100644
--- a/api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html
+++ b/api/pl.treksoft.kvision.remote/-j-s-o-n/plain.html
@@ -8,7 +8,7 @@
<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>
+(js) <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
index 8de7d04d..2143b8ef 100644
--- 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
@@ -8,8 +8,8 @@
<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>
+(js) <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> <span class="identifier">T</span><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><span class="identifier">T</span><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>