JavaScript Object Notation (JSON) is another popular data format in IoT systems. In this section, we will learn how to read JSON data with Python's JSON, NumPy, and pandas packages.
For this section, we will use the zips.json file, which contains US ZIP codes with city codes, geolocation details, and state codes. The file has JSON objects recorded in the following format:
{ "_id" : "01001", "city" : "AGAWAM", "loc" : [ -72.622739, 42.070206 ], "pop" : 15338, "state" : "MA" }