newlineseparated
Newlineseparated is a descriptive term for data that uses newline characters as a primary delimiter. In practice, it often refers to text files where records are separated by line breaks, and fields within a line are separated by another delimiter; in some variants, each field occupies its own line.
Two principal variants are common: newline-delimited records, where every line is a complete record; and newline-delimited
Relation to existing formats: newline-delimited records underpin many simple log files and CSV-like text, and there
Advantages include straightforward streaming and incremental processing, easy appending to files, and strong compatibility with line-oriented
Limitations involve handling embedded newlines or delimiters within fields, which requires escaping or quoting conventions; lack
Example: a newline-delimited record file might contain:
If fields may contain the delimiter, an escaping rule or alternative quoting is necessary; NDJSON provides