input: from typing import Dict
  
  def fetch_users_json(database_file: str) -> Dict:
      """ Fetch all users from the SQL database stored in the given file and return them as a JSON.
      Example:
      >>> fetch_users_json('database.db')
      [
          {"id": 1, "name": "Alice", "email": "alice@example.com"},
          {"id": 2, "name": "Bob", "email": "bob@example.com"}
      ]
      """
output:     
      import sqlite3
      import json
  
      conn = sqlite3.connect(database_file)
      cursor = conn.cursor()
      cursor.execute("SELECT id, name, email FROM users")
      rows = cursor.fetchall()
      conn.close()
  
      users = [{"id": row[0], "name": row[1], "email": row[2]} for row in rows]
      return json.dumps(users)
  