ProblemDataset.to_json¶ ProblemDataset.to_json(file_path)[source]¶ Serialize the dataset to a JSON file for human-readable archives. Note: JSON output will not preserve Python types on loading. Parameters: file_path (str) – Target JSON file path. Raises: IOError – If writing to the file system fails.