Join Slack
Powered by
<@U0BJ35747> If you let your classes implement Jso...
# tornadofx
e
edvin
02/01/2017, 2:13 PM
@hastebrot
If you let your classes implement JsonModel it's very easy, just call
updateModel(json)
on your object. If you want to create it as well you need to do
MyObject().apply { updateModel(json) }
. This is all done automatically if you work with the REST client of course.
Open in Slack
Previous
Next