Practical use of object serialization?

How many software projects have you used to serialize your object? I personally have never come across a script when using object serialization. One use case that I can think of is server software that stores objects on disk to save memory. Are there other types of software where object serialization is significant or preferable over a database?

+5
source share
11 answers

I have used object serialization in many of my projects. Sometimes we use it to store computer settings locally. I also used XML serialization to simplify interactions and generate XML documents. It is also very useful in communication protocols. Serialize at one end and re-inflate at the other end.

+4
source

, XML JSON - , . , , ( , #, .NET framework). , , , . , API . , - , .

+4

TCP. XmlSerializers . , , , , socket.Send(myObject);.

+2

, :

  • ,
  • () , .. .
  • / , , , .
+2

- biggie.

+2

db . f.ex. ( , ) ,

+1

, 15 . , db pickle ( python btw). . , , , . XP .

0

, , , "". , .

0

, /.

, , - , , , - .

, / , /.

. , , , , /.

0

. , , , , "" . , , .

0

XML . , , . , .

0
source