@edvin moving to 1.7.17-SNAPSHOT now it cannot find the json objects :```
override fun toJSON(json: JsonBuilder) {
with(json) {
add("name", name)
add("dropAllowed", dropAllowed)
add("children", children.toJSON())
add("photolist", photolist.toJSON())
}
}
override fun updateModel(json: JsonObject) {
with(json) {
name = json.getString("name")
dropAllowed = json.getBoolean("dropAllowed")
children.setAll(json.getJsonArray("children")?.toModel() ?: emptyList<PhotoCategory>())
photolist.setAll(json.getJsonArray("photolist")?.toModel() ?: emptyList<Photo>())
}
}
```