(identifiers: List[BenchmarkIdentifier], path: Path)
| 14 | |
| 15 | |
| 16 | def serialize_identifiers(identifiers: List[BenchmarkIdentifier], path: Path): |
| 17 | items = [identifier.to_dict() for identifier in identifiers] |
| 18 | |
| 19 | with open(path, "w") as f: |
| 20 | json.dump(items, f) |
| 21 | |
| 22 | |
| 23 | def deserialize_identifiers(path: Path) -> List[BenchmarkIdentifier]: |