Kray-G opened this issue 4 years ago · 0 comments
Look at this.
class A { public toString() { return "A"; } } System.println({ a: new A() }); // => {"a":A}
A is invalid as a JSON, and it should be "A".
A
"A"