Hello, folks. In a library I'm working on, I have a class holding a map, and
toString()
on that class should return
JSON.stringify(theMap)
. But that won't work since js maps have this prototype thing in them (at least I think that's why), and so there are circular references in js runtime. Has anyone got a good idea about how I could convert the map into something that
Yeah, and I wish to go there. I even prepared my code for it, in a branch for a version 2. But for different reasons, I also need a version 1 to work without the built-in kotlin serialization ...