What is Serialization?

Turning live objects in memory into a format that can be stored or sent — and back again

→
→
→
Obj
Object
Live in RAM
with references
Ser
Serialize
Convert to bytes
or text (JSON)
Store
Store / Send
File, DB, or
network
Des
Deserialize
Rebuild the
live object
Click “Start Auto” or use “Next” to learn what serialization means

Serialization is the foundation of saving data to a file, sending it over HTTP, and loading it again.
In PersonCarDog we serialize the whole Repository to JSON; in Spring Boot the same idea appears in REST APIs and JPA.