Back to search

JSON, Pickle, and CSV basics in Python

JSON is portable text, Pickle is Python-specific object serialization, and CSV is a simple tabular interchange format.

Python Medium Theory

JSON, Pickle, and CSV basics in Python

JSON is portable text, Pickle is Python-specific object serialization, and CSV is a simple tabular interchange format.

  • JSON is safer and interoperable
  • Pickle is not for untrusted data
  • CSV needs clear delimiter and schema assumptions

JSON, Pickle, and CSV basics in Python