Write to_jsonl(records) — return a string with one JSON object per line. Then parse the blob back and print the line count (3) and whether the round-trip preserved the records exactly (True).
Write to_jsonl(records) — return a string with one JSON object per line. Then parse the blob back and print the line count (3) and whether the round-trip preserved the records exactly (True).