<How to turn an object to JSON type string in kotl...
# stackoverflow
u
How to turn an object to JSON type string in kotlin? I remember there being a way to do that but I can't remember how or find it. The object should be like: object{ val a = "smth" . . . } and it should turn into strings like "{ a: "smth", ...}" Edit: ...why the downvotes? I get that people here are an elitist bunch, but seriously?