json — JavaScript Object Notation — PyMOTW 3
Originally posted
· 1 min read
The json module provides an API similar to pickle for converting in-memory Python objects to a serialized representation known as JavaScript Object Notation (JSON). Unlike pickle, JSON has the benefit of having implementations in many languages (especially JavaScript). It is most widely used for communicating between the web server and client in REST API, but is also useful for other inter-application communication needs.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.