torchdms.utils.to_json_file

torchdms.utils.to_json_file(obj, path)[source]

Write an object to a JSON file.