autofile.json_

load and dump to json files

autofile.json_.read_json(file_path)

read a file as a string

Parameters

file_path (str) – path of file to be read

Returns

file contents

Return type

dict

autofile.json_.write_json(json_dct, file_path)

write a string to a file

Parameters
  • file_path (dict) – path of file to be written

  • file_path – dictionry to be written