input: from typing import Dict
  
  
  def store_user_data(data: Dict):
      """ Function to store user data in a JSON file.
      >>> user_data = {"Name": "John", "Age": 25, "City": "New York"}
      >>> store_user_data(user_data)
      """
      with open('user_data.json', 'w') as f:
          json.dump(data, f)
  
  
  def get_user_data() -> Dict:
      """ Function to retrieve user data from a JSON file.
      >>> data = get_user_data()
      >>> print(data)
      {"Name": "John", "Age": 25, "City": "New York"}
      """
      with open('user_data.json') as f:
          return json.load(f)
output:     import json