code: def _sync_projects(self, projects_json):
          Populate the user's projects from a JSON encoded list."""
          for project_json in projects_json:
              project_id = project_json['id']
              self.projects[project_id] = Project(project_json, self)
docs: Populate the user's projects from a JSON encoded list.