ankushg
10/19/2018, 7:09 PMelizarov
10/19/2018, 7:11 PMfkrauthan
10/19/2018, 7:42 PMelizarov
10/19/2018, 7:43 PMelizarov
10/19/2018, 7:44 PMfkrauthan
10/19/2018, 8:01 PMJSON.stringify
that parent object within javascript all the attributes of my data class are getting correctly converted to JSON?fkrauthan
10/19/2018, 8:02 PMelizarov
10/19/2018, 8:05 PMelizarov
10/19/2018, 8:07 PMJSON.stringify
if you want to preserve all the Kotlin types (and all the custom serializers you might have defined). For example, if you plan to deserialize that in your JVM backend back into those Kotlin objects.fkrauthan
10/19/2018, 8:10 PMelizarov
10/19/2018, 8:27 PMelizarov
10/19/2018, 8:28 PMelizarov
10/19/2018, 8:28 PMexternal interface
with all the properties you expect there and use it.fkrauthan
10/19/2018, 8:31 PMgbaldeck
10/19/2018, 8:32 PMfkrauthan
10/19/2018, 8:33 PMgbaldeck
10/19/2018, 8:34 PMgbaldeck
10/19/2018, 8:36 PMgbaldeck
10/19/2018, 8:38 PMfkrauthan
10/19/2018, 8:38 PMgbaldeck
10/19/2018, 8:42 PM@JsName
annotation and check the compiled JS to make sure it is giving you exact property namesfkrauthan
10/19/2018, 9:01 PMgbaldeck
10/20/2018, 6:03 PMgbaldeck
10/20/2018, 7:51 PMfkrauthan
10/20/2018, 8:15 PMgbaldeck
10/21/2018, 2:13 AM