I need a `JsonObject` to specify response formats...
# serialization
s
I need a
JsonObject
to specify response formats of a third party lib, is it somehow possible to retrieve a JsonObject from a
@Serializable class MyClass
without writing the mapping by hand?
g
You can serailize class and deserialize it to JsonObject
not sure that direct class to JsonObject is possible