Is it possible to serialize objects with function ...
# serialization
h
Is it possible to serialize objects with function properties? e.g.
Copy code
@Serializable
data class Foo(val foo: (Int) -> Int)

println(Json.stringify(Foo { it + 2 })
Threw an error for me.