diff options
Diffstat (limited to 'api/pl.treksoft.kvision.utils')
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"><</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> <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> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">JSON</a> / <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"><</span><span class="keyword">reified</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> <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> |