code: def read(path, create_file=False):
          
          if create_file:
              with open(str(path), 'a+') as data_file:
                  data_file.seek(0)
                  return json.load(data_file)
  
          else:
              with open(str(path)) as data_file:
                  return json.load(data_file)
docs: Reads the json data in path
  
          :param Path path: Path that json data will be readed
          :param create_file: Creates the file if it isn't exists
  
          :return: json data