code: def to_json(self):
          
          return {
              "city": self.city,
              "state": self.state,
              "country": self.country,
              "latitude": self.latitude,
              "longitude": self.longitude,
              "time_zone": self.time_zone,
              "elevation": self.elevation,
              "station_id": self.station_id,
              "source": self.source
          }
docs: Create a location from json.
              {
                "city": "-",
                "latitude": 0,
                "longitude": 0,
                "time_zone": 0,
                "elevation": 0
              }