How to serialize a Python class?
Answers
Answered by
2
☆☞ Here is ur answer ☜☆
✔✔ To serialize an object hierarchy, you simply call the dumps() function.
✔✔ Similarly, to de-serialize a data stream, you call the loads() function.
✔✔ However, if you want more control over serialization and de-serialization, you can create a Pickler
HOPE IT HELPS!
Answered by
2
hello!
☆☞ Here is ur answer ☜☆
✔✔ To serialize an object hierarchy, you simply call the dumps() function.
✔✔ Similarly, to de-serialize a data stream, you call the loads() function.
✔✔ However, if you want more control over serialization and de-serialization, you can create a Pickler
HOPE IT HELPS!
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
English,
1 year ago
Chemistry,
1 year ago
Math,
1 year ago