input: Write a function to store and query user data in a JSON file. Define two functions, one for storing the data and one for retrieving the data. The data is stored as a dictionary and should be saved in 'user_data.json'. If the file does not exist, it should be created.
  
  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)
  
  import json
  
  user_data = {"Name": "John", "Age": 25, "City": "New York"}
  
  # Example test cases
  assert store_user_data(user_data) == None
  assert get_user_data() == {"Name": "John", "Age": 25, "City": "New York"}
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)