kvision / pl.treksoft.kvision.remote / JSON

JSON

object JSON

JSON utility functions

Properties

nonstrict

val nonstrict: Json

plain

val plain: Json

Functions

toObj

fun <T> T.toObj(serializer: SerializationStrategy<T>): dynamic

An extension function to convert Serializable object to JS dynamic object

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.