def METHOD_NAME(self, jsonPath, namespace=None, export=True):
    if namespace is None:
        namespace = os.path.splitext(os.path.basename(jsonPath))[0]
    syms = self._symbols[namespace] if not export else self._filterExport(namespace)
    if not syms:
        return False
    with open(jsonPath, "w") as f:
        json.dump(syms, f, indent=4)
    return True