<human>:  load json arry from file.
<bot>: Here is a Python function to load json from a file

import json

def load_json_file(file_name):
  """Load json file."""
  with open(file_name, 'r') as f:
    return json.load(f)

# Enter the file name
file_name = "test.json"

# Calling the function
print((load_json_file(file_name)))

#Example Output
# {'hello': 'world'}

#Remember to inspect code for bugs.