input: from typing import Any
  
  def fetch_data_as_json(database_file: str) -> Any:
      """Fetch data from an SQL database and present it as a JSON.
      
      >>> fetch_data_as_json('database.db')
      [{"id": 1, "name": "John"}, {"id": 2, "name": "Jane"}]
      """
      
      import json 
      import sqlite3 
      
      connection = sqlite3.connect(database_file) 
      connection.row_factory = sqlite3.Row
      cur = connection.cursor() 
      all_data = cur.execute('SELECT * FROM users;').fetchall() 
      
      data_dicts = [dict(row) for row in all_data]
      connection.close() 
      
      return jsonify(data_dicts)
output:     return json.dumps(data_dicts)