Skip to content

Commit

Permalink
Allow the .ndjson extension for the jsonl language
Browse files Browse the repository at this point in the history
NDJSON is a specification that is essentially the same thing as JSON
lines. The spec can be found on https://github.com/ndjson/ndjson-spec.

The NDJSON website is down. The project seems pretty much dead. The
status is best described by this comment:
ndjson/ndjson-spec#35 (comment)

However, this doesn’t mean there aren’t any `.ndjson` files out there.
This changes adds `.ndjson` to the list of `jsonl` file extensions.
  • Loading branch information
remcohaszing committed Dec 12, 2024
1 parent 82d1ef9 commit 4947875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
"JSON Lines"
],
"extensions": [
".jsonl"
".jsonl",
".ndjson"
],
"filenames": [],
"configuration": "./language-configuration.json"
Expand Down

0 comments on commit 4947875

Please sign in to comment.