savejson
- zdm.io.savejson(filename, obj, overwrite=False, indent=None, easy_to_read=False, **kwargs)[source]
Save a python object to filename using the JSON encoder. :param filename: :type filename: str :param obj: Frequently a dict :type obj: object :param overwrite: :type overwrite: bool, optional :param indent: Input to json.dump :type indent: int, optional :param easy_to_read: Another approach and obj must be a dict :type easy_to_read: bool, optional :param kwargs: Passed to json.dump :type kwargs: optional