profiles.base.BaseProfile.to_json# BaseProfile.to_json(filepath: str, **kwargs)[source]# Serialize the profile to a JSON file. Parameters: filepath (str) – Path to the output JSON file. kwargs (dict) – Additional arguments passed to json.dump.