blob: c0e7d846e30cb5d77aa9626e7a3c4871688a4f04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>JSON - 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><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"><</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><span class="keyword">dynamic</span></code><br/>
<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.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.utils.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>
</BODY>
</HTML>
|