- Add unified NdjsonFrame enum with serde internal tagging (tag = "frame") - Remove frame_type field from individual frame structs (HeaderFrame, PageFrame, FooterFrame) - Add write_frame<W: Write>() helper that serializes, adds newline, and flushes - Add #[serde(default)] to optional fields for proper deserialization - Add roundtrip tests for all frame types - Add test verifying frame discriminator appears first in JSON output - Update module exports to include NdjsonFrame and write_frame Per plan 6.2.1: frame sequence (lines 2038-2042) Closes: pdftract-2kpm0 |
||
|---|---|---|
| .. | ||
| pdftract-cer-diff | ||
| pdftract-cli | ||
| pdftract-core | ||
| pdftract-libpdftract | ||
| pdftract-py | ||