input: Write a python function to save a list of dictionaries to a JSON file.
  assert save_to_json([{'name': 'John', 'age': 30, 'city': 'New York'}, {'name': 'Max', 'age': 20, 'city': 'Berlin'}], "data.json") is None
  assert save_to_json([{'name': 'Alice', 'age': 25, 'city': 'Paris'}, {'name': 'Bob', 'age': 35, 'city': 'London'}], "new_data.json") is None
output: import json
  
  def save_to_json(data, filename):
      with open(filename, 'w') as json_file:
          json.dump(data, json_file)