input: Write a function to store user data in a JSON file and retrieve it by reading the file. The function should handle the storing and querying of user data.
  
  ### Input:
  user_data = {"Name": "John", "Age": 25, "City": "New York"}
  
  ### Output:
  
  import json
  
  def store_user_data(data):
      with open('user_data.json', 'w') as f:
          json.dump(data, f)
  
  def get_user_data():
      with open('user_data.json') as f:
          return json.load(f)
  
  # Test cases
  assert store_user_data({"Name": "Alice", "Age": 30, "City": "Los Angeles"}) is None
  assert get_user_data() == {"Name": "Alice", "Age": 30, "City": "Los Angeles"}
  assert store_user_data({"Name": "Bob", "Age": 22, "City": "Chicago"}) is None
  assert get_user_data() == {"Name": "Bob", "Age": 22, "City": "Chicago"}
  
output: def store_user_data(data):
      with open('user_data.json', 'w') as f:
          json.dump(data, f)
  
  def get_user_data():
      with open('user_data.json') as f:
          return json.load(f)