serialization example in java
Example 1: what is serialization in java
Serialization; when we MAP a Java object to API JSON
format (CONVERT JAVA OBJECT TO JSON);
Deserialization; API JSON/XML ^ MAP it to Java Object
(JSON TO JAVA OBJECT)
Example 2: import java.io.serializable
import java.io.Serializable;