8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
enum E { case E1 case E2 } val e: E = E.E1 println(e.asJson) // expect "E1" json string here, but current is {"E1":{}}
In most situations, serializing singleton cases to empty object is meaningless. Actually, we want a string const here.