Skip to content

BeechCMS


BeechCMS / @beechcms/core / parseNdjsonLine

Function: parseNdjsonLine() ​

parseNdjsonLine(line): LineParseResult

Decodes one NDJSON line. Never throws: a malformed line is a failed row in the job report, not an aborted import (brief §2 — best-effort, not atomic).

Parameters ​

line ​

string

Returns ​

LineParseResult