Overview
Syllabus
Intro
Everyone hates serialization
What's with all the hate?
The benefits...
and the costs
Serialization mechanics
Casualty: thread safety
Casualty: initialization mechanics
Casualty: confinement
Effective Java, Item 88
Special bonus attack: finalization
Serialization scorecard
Lessons
Why not "just" use JSON?
A language designer looks at serialization
The root problems
Banishing the magic
Deserialization is construction
Digression: pattern matching
Serialization is deconstruction
Versioning
Access control
Towards better serialization
The bad news
The long road ahead
Summary
Taught by
Devoxx