input: from typing import List
  
  def fetch_data_from_sql_as_json(database_name: str) -> List[dict]:
      """
      Fetches data from an SQL database and presents the data in the form of a JSON.
      The function connects to an SQLite database, fetches all rows from the 'users' table,
      and returns them as a list of dictionaries.
      >>> fetch_data_from_sql_as_json('database.db')
      [{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}]
      """
output:     import sqlite3
      import json
  
      conn = sqlite3.connect(database_name)
      cursor = conn.cursor()
      cursor.execute("SELECT * FROM users")
      rows = cursor.fetchall()
      columns = [description[0] for description in cursor.description]
      result = [dict(zip(columns, row)) for row in rows]
      conn.close()
      return result