New JSON Lines and NDJSON support in v22.0211+

Post here if your topic is about CSS HTML Validator but doesn't fit in another forum.
Post Reply
User avatar
Albert Wiersch
Site Admin
Posts: 3821
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

New JSON Lines and NDJSON support in v22.0211+

Post by Albert Wiersch »

CSS HTML Validator v22.0211+ now support syntax checking of JSON Lines (*.jsonl files) and NDJSON (*.ndjson files ; application/x-ndjson) documents. The two formats are very similar, but NDJSON allows empty lines.
This page describes the JSON Lines text format, also called newline-delimited JSON. JSON Lines is a convenient format for storing structured data that may be processed one record at a time. It works well with unix-style text processing tools and shell pipelines. It's a great format for log files. It's also a flexible format for passing messages between cooperating processes.
More about JSON Lines:
https://jsonlines.org/
This page describes the ndjson format, also called Newline delimited JSON. NDJSON is a convenient format for storing or streaming structured data that may be processed one record at a time. It works well with unix-style text processing tools and shell pipelines. It's a great format for log files. It's also a flexible format for passing messages between cooperating processes.
More about NDJSON:
http://ndjson.org/

Note that the Lite edition does not support these new formats.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply