How can I marshal `ObservableList<ObservableLis...
# getting-started
v
How can I marshal
ObservableList<ObservableList<ObservableValue<Any>>>
? Do I need inherit and annotate it? Are there better (Kotlin-specific) ways to marshal an object?
h
Marshal to what? Do you mean serialize? If so,
ObservableList
doesn't implement
Serializable
... and neither does anything else in that declaration.
v
Yep, I've just discovered it. So what is the simple way to save state of an object (e.g.
TableView
)? I'm new to this concept, but need to implement serialization/marshalling, and, pehaps, save it into XML database or just into a file
n
#serialization
you probably want to turn the observable list into a normal list first and then feed it into eg. jackson