Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the .ndjson extension for the jsonl language #235921

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

remcohaszing
Copy link
Contributor

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.

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.
@@ -74,7 +74,8 @@
"JSON Lines"
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should also add ndjson to aliases? I’m not really sure if that even does anything. There are some extensions that define the ndjson language ID.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aliases are only used for rendering labels (e..g in some native Save As dialogs)

@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Dec 12, 2024
@@ -74,7 +74,8 @@
"JSON Lines"
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aliases are only used for rendering labels (e..g in some native Save As dialogs)

@aeschli aeschli enabled auto-merge December 12, 2024 16:12
@aeschli aeschli merged commit 1a5b8e4 into microsoft:main Dec 12, 2024
7 checks passed
@remcohaszing remcohaszing deleted the ndjson branch December 12, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants