September 2026
1051 pages
35h 4m
English
In this chapter, we’ll look at the permanent storage of data in a wide variety of formats. This includes compressed archives, XML files, and databases, among others.
The JavaScript Object Notation (JSON) data format, originally developed for JavaScript, has become quasi-standard for simple data exchange, competing to a certain extent with XML. Unlike the XML markup language, JSON stores data in the form of valid JavaScript code. Nevertheless, there are JSON parsers for all common programming languages—including Python, of course.
An object represented in JSON can be composed of the data types listed in Table 32.1, each of which has its counterpart with an identical meaning in Python. ...
Read now
Unlock full access