import json


def load_extraction(json_file):
  """Load data from a PDF Extraction JSON file.

  Parameters:
    json_file (str): Filename, incl. path, to the PDF extraction JSON file

  Returns: 
    dict: Dictionary representation of the loaded object.
  """
  with open(json_file, "r") as read_file:
      extraction = json.load(read_file)
  
  print("\nLoaded extraction from "+json_file+"\n")
  
  return extraction