summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-j-s-o-n/index.html')
-rw-r--r--api/pl.treksoft.kvision.remote/-j-s-o-n/index.html28
1 files changed, 8 insertions, 20 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>