Generate serialization scheme and the meaning of serialization

1. How does intelliJ automatically generate serialization https://jingyan.baidu.com/article/f79b7cb3d19cc49144023ea6.html
2. The meaning of serialization:
1) Serialization is a mechanism for processing object streams. The so-called object stream is Streaming the content of the object, you can read and write the streamed object, and you can also transfer the streamed object to the network;

2) In order to solve the problems that may be caused by the read and write operations of the object stream (if serialization is not performed, there may be a problem of data disorder)

3) In addition to the persistence of objects, serialization can also be used for deep cloning of objects.
Reference: https://blog.csdn.net/qq_32575047/article/details/80070590

Guess you like

Origin blog.csdn.net/qq_37375667/article/details/104542017