diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-03-13 01:05:20 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-03-13 01:05:20 +0100 |
commit | 0365722f8549ee93918be99da1b9f901cf0b2c8d (patch) | |
tree | 01624b829e0d11c122070dacab6e7b1bf90325a8 /api/pl.treksoft.kvision.remote/-j-s-o-n | |
parent | 4ffe1bee99a55e985bb71dacff3839263cb4316f (diff) | |
download | kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.gz kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.bz2 kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.zip |
API documentation for KVision 3.5.2
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-j-s-o-n')
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> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <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"><</span><span class="identifier">T</span><span class="symbol">></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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">></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"><</span><span class="identifier">T</span><span class="symbol">></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> <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"><</span><span class="identifier">T</span><span class="symbol">></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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></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> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">JSON</a> / <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> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">JSON</a> / <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> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">JSON</a> / <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"><</span><span class="identifier">T</span><span class="symbol">></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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">></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"><</span><span class="identifier">T</span><span class="symbol">></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> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></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> |