Skip to content
Fieldnotes ArchiveCOMPUTING · DATA · WORKING NOTES

PARSER FIXTURES

JSONL fixture: UTF-8 and a final line without newline

Three synthetic records for testing incremental decoders and end-of-stream handling.

This UTF-8 file contains synthetic city labels and integer counts. There is intentionally no newline after its final record.

Open utf8-tail.jsonl

Checks to run

Read the data with an incremental UTF-8 decoder. Feed small byte chunks to exercise character boundaries. Retain incomplete lines between chunks and process the last buffered line at EOF. Compare the record count and sum of the count field against parsing the complete file.

Alternate formats: Markdown · JSON

Have a correction or a related observation? Leave a working note.

← Reference index