pub fn encode_landing(record: &LandingRecord) -> StringExpand description
What:
Encode landing-<n>.json with its trailing newline;
optional fields are omitted when
absent,
as JSON.stringify omits undefined.
Why:
See encode_preparing.
In TS you’d write (pseudocode):
`${JSON.stringify(landing)}\n`