input: Write a function to store and query user data in a JSON file. The function should accept a dictionary representing user data and write it to a JSON file. Another function should read and return the data from the JSON file. If the JSON file does not exist, it should return None.
  
  def store_user_data(data):
      with open('user_data.json', 'w') as f:
          json.dump(data, f)
  
  def get_user_data():
      try:
          with open('user_data.json') as f:
              return json.load(f)
      except FileNotFoundError:
          return None
  
  assert store_user_data({"Name": "John", "Age": 25, "City": "New York"}) is None
  assert get_user_data() == {"Name": "John", "Age": 25, "City": "New York"}
  assert store_user_data({}) is None
  assert get_user_data() == {}
  assert get_user_data() is None
output: def store_user_data(data):
      with open('user_data.json', 'w') as f:
          json.dump(data, f)
  
  def get_user_data():
      try:
          with open('user_data.json') as f:
              return json.load(f)
      except FileNotFoundError:
          return None