...

/

Serializing Python Objects to be Read by Other Languages

Serializing Python Objects to be Read by Other Languages

We'll cover the following...

The data format used by the pickle module is Python-specific. It makes no attempt to be compatible with other programming languages. If cross-language compatibility is one of your requirements, you need to look at other serialization formats. One such format is JSON. “JSON” stands for “JavaScript Object Notation,” but don’t let the name fool you — json is explicitly designed to be usable across multiple programming ...