override fun updateModel(json: JsonObject) {
with(json) {
flightNumber = string("flightNumber")
status = string("status")
with(string("arrival")){
arrivalCity = string("city")
}
}
}
That's my update function, the two first properties are getting rendered just fine.
The problem comes when I am trying to get values from the inner json object "arrival", I have tried some tricks, but with no success.