aPriori.NN.is_json_file¶

aPriori.NN.is_json_file(file_path)¶

Check if the given file_path is a JSON file and if it contains valid JSON data.

Parameters:¶

  • file_path (str): The path to the file.

Returns:¶

:
  • bool: True if the file is a valid JSON file, False otherwise.