input: Write a python function to convert a JSON object to an array of dictionaries.
  assert json_to_array('{ "Fruit": "Apple", "Shape": "Round", "Color": "Red" }') == [{'Fruit': 'Apple'}, {'Shape': 'Round'}, {'Color': 'Red'}]
  assert json_to_array('{ "Name": "Alice", "Age": 30, "City": "New York" }') == [{'Name': 'Alice'}, {'Age': 30}, {'City': 'New York'}]
  assert json_to_array('{ "Brand": "Ford", "Model": "Mustang", "Year": 1964 }') == [{'Brand': 'Ford'}, {'Model': 'Mustang'}, {'Year': 1964}]
output: import json
  
  def json_to_array(json_str):
      obj = json.loads(json_str)
      return [{k: v} for k, v in obj.items()]