input: Write a function to parse a JSON data structure and extract the name, age, and occupation fields. The function should return these fields as a tuple.
  
  def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']
  
  assert parse_json('{"name": "John", "age": 18, "occupation": "Software Engineer"}') == ('John', 18, 'Software Engineer')
  assert parse_json('{"name": "Jane", "age": 25, "occupation": "Data Scientist"}') == ('Jane', 25, 'Data Scientist')
  assert parse_json('{"name": "Alice", "age": 30, "occupation": "Manager"}') == ('Alice', 30, 'Manager')
output: def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']