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

Newline-delimited JSON #224

Closed
felipeochoa opened this issue Dec 4, 2020 · 3 comments
Closed

Newline-delimited JSON #224

felipeochoa opened this issue Dec 4, 2020 · 3 comments

Comments

@felipeochoa
Copy link

There seems to be growing consensus[1][2] around using application/x-ndjson for newline-delimited JSON, which is used for streaming JSON objects. There isn't an RFC yet for ndjson[3], which I think precludes registering with IANA. Would it be possible to nonetheless add to this library as a 'custom' MIME type?

1: Elasticsearch
2: Spring Framework
3: ndjson/ndjson-spec#21

@dougwilson
Copy link
Contributor

Hi @felipeochoa ! An RFC is not required to submit the IANA form, as far as I know. Can you link to where you are seeing that an RFC of the format is required to add something to the IANA registry?

@dougwilson
Copy link
Contributor

AFAIK it is just submitting the following form: https://www.iana.org/form/media-types

There are a lot of things in the IANA database (even recent ones I've seen come through) that have no RFC for their spec, especially private types like things companies define.

@mattbishop
Copy link

Just adding a +1 to this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants