summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-j-s-o-n/index.html
blob: 2703fd524f08c62fee1e0afacf725990958c70fb (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
49
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>JSON - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<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>
(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>
(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>
(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>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
(js) 
<h4><a href="to-obj.html">toObj</a></h4>
</td>
<td>
<p>An extension function to convert Serializable object to JS dynamic object</p>
<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>
</BODY>
</HTML>