toJsonObject

inline fun <T : @Serializable Any> T.toJsonObject(): JsonObject