Home > Back-end >  Excuse me, are written to disk file after an object serialization, what is the specific content of w
Excuse me, are written to disk file after an object serialization, what is the specific content of w

Time:04-30

Excuse me, are written to disk file after an object serialization, what is the specific content of written to disk, has studied, it is best to have a concrete examples and pictures,

CodePudding user response:

If use JDK bring serialization is serialized into the content of the binary format, containing the type of the object and object binary content,
For simple objects, I generally prefer json serialization,

CodePudding user response:

Thank you very much, you say it contains the type of the object and the object of the binary content, the type of the object is to point to his class, and what is the binary content object? Would you please provide a detailed example, thank you.
  • Related