def save_json(self, path, items):

        with codecs.open(path, 'w', encoding=system_encoding) as f:
            json.dump(items, f, sort_keys=True, indent=4)
Saves a dictionary to a specified path using the json format
dataset/ETHPy150Open markjones112358/dmenu-extended/dmenu_extended.py/dmenu.save_json