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