``` @Serializable class Wrapper(val test : Test) ...
# serialization
f
Copy code
@Serializable
class Wrapper(val test : Test)

enum class Test {
    @SerialName("Bar")
    Foo
}
  println(json.stringify(Wrapper.serializer(), Wrapper(Test.Foo)))
This prints
{test: "Foo"}
, I would've expected
{test: "Bar"}
though, what am I doing wrong?
f
Thanks