input: Write a python function to read data from a JSON file.
  assert read_data_from_json('valid_file.json') == {"name": "John", "age": 30}
  assert read_data_from_json('non_existent_file.json') == None
  assert read_data_from_json('invalid_json_format.json') == None
output: import json
  
  def read_data_from_json(file_path):
      try:
          with open(file_path, 'r') as file:
              return json.load(file)
      except (FileNotFoundError, json.JSONDecodeError):
          return None