Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was wondering how this compared to jsonlines/jsonl https://jsonlines.org

> This page describes the JSON Lines text format, also called newline-delimited JSON.

And then I saw this at the bottom of the ndjson.org page:

> Site forked from jsonlines.org

So is this a fork of the site only, or a fork of the jsonlines standard?



Yeah, the only difference I can see from the specs are that ndjson SHOULD be served with the type `application/x-ndjson` while jsonl does not seem to specify a mediatype.

There is similar issues in both projects:

- https://github.com/wardi/jsonlines/issues/22

- https://github.com/ndjson/ndjson-spec/issues/35


I was curious whether .jsonl or .ndjson is used more often. Based on frequency in GitHub it looks like both are popular but .jsonl enjoys slightly wider usage:

  extension:jsonl   62K results [1]
  extension:ndjson  41K results [2]
[1]: https://github.com/search?q=extension:jsonl

[2]: https://github.com/search?q=extension:ndjson




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: