You can serialize your JS object to JSON and then ...
# javascript
k
You can serialize your JS object to JSON and then dezerialize to Kotlin object