diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-02-16 23:29:42 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-02-16 23:29:42 +0100 |
commit | c7169d6e9dec101fc5523f84766b6fd0c3ecb656 (patch) | |
tree | 92349bc5407b8d2fadb7af6ec1b69611e37cd89f /api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html | |
parent | f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 (diff) | |
download | kvision-c7169d6e9dec101fc5523f84766b6fd0c3ecb656.tar.gz kvision-c7169d6e9dec101fc5523f84766b6fd0c3ecb656.tar.bz2 kvision-c7169d6e9dec101fc5523f84766b6fd0c3ecb656.zip |
API documentation for KVision 0.0.25
Diffstat (limited to 'api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html')
-rw-r--r-- | api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html | 8 |
1 files changed, 7 insertions, 1 deletions
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 index 2821bd05..13038dd7 100644 --- 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 @@ -9,7 +9,13 @@ <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> +<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><span class="keyword">dynamic</span></code> <p>An extension function to convert Serializable object to JS dynamic object</p> +<a name="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.utils.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.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> +<h3>Parameters</h3> +<p><a name="serializer"></a> +<code>serializer</code> - a serializer for T</p> </BODY> </HTML> |