kvision / pl.treksoft.kvision.utils / JSON / toObj

toObj

(js) fun <reified T : Any> T.toObj(): dynamic

An extension function to convert Serializable object to JS dynamic object

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

An extension function to convert Serializable object to JS dynamic object

Parameters

serializer - a serializer for T