pyufunc.save_dict_to_json#
- pyufunc.save_dict_to_json(filename, data, *, output_dir='.')#
Save a dictionary to a JSON file with pretty formatting.
- Parameters:
Note
Source package:
pyufunc.Source repository: xyluo25/pyufunc
Source document: https://pyufunc.readthedocs.io/en/latest/
Source license: MIT License.
Example
>>> save_dict_to_json("usage", {"repo": ["func"]}, output_dir=".")
- Returns:
This function does not return a value.
- Return type:
None