karelpeeters
10/13/2017, 9:28 PMfun main(args: Array<String>) {
println("Hello World!")
println(JSON.plain.stringify(Foo("Hey")))
}
data class Foo(val foo: String)
throw a ClassCastException: Illegal cast
? I'm using Kotlin-JS, so I don't have a stacktrace.sandwwraith
10/14/2017, 1:24 AM@Serializable
annotation on your class