def save(self, filename):
    '\n        dump contents to json file\n\n        Args:\n            filename: output file path\n\n        '
    with open(filename, 'w') as f:
        json.dump(self._data, f)
dump contents to json file

Args:
    filename: output file path
def save(self, filename):
    '\n        dump contents to json file\n\n        Args:\n            filename: output file path\n\n        '
    with open(filename, 'w') as f:
        json.dump(self._data, f)