Comments (10)
Today, almost four years later, I found my own question via Google 😂
I am going to use application/x-ndjson
, as @wardi suggested 😊
from jsonlines.
ndjson is now essentially the same format, why not use theirs "application/x-ndjson" https://github.com/ndjson/ndjson-spec
from jsonlines.
I found this issue after giving a suggestion elsewhere: #36
https://tools.ietf.org/html/rfc7464 seems to suggest using application/json-seq
as the mime type.
from jsonlines.
FWIW application/json
is incorrect, because multiple lines of JSON values are not valid JSON.
from jsonlines.
At ScrapingHub we're using application/x-jsonlines
.
from jsonlines.
json-seq
has slightly different format than jsonl
Orz
from jsonlines.
The lack of a definitive IANA Media Type for JSON Lines causes some difficulty for those of us using the format. In the interest of pushing the issue, I took the liberty of starting a conversation:
https://mailarchive.ietf.org/arch/msg/json/dWMWD0JDa2HiUYjWjLjrQExeIx4/
Perhaps someone here would like to join that thread?
Disclaimer: I am in no way affiliated with the IANA/IETF. I am merely interested in using the format, correctly.
from jsonlines.
ndjson is now essentially the same format, why not use theirs "application/x-ndjson" https://github.com/ndjson/ndjson-spec
@whlavina - I joined that so called IETF discussion thread (and was present during the JSON sequences RFC shaping) and I still think application/x-ndjson
is a sensitive way to go.
from jsonlines.
I've also subscribed to the IETF mailing list, but I'm not sure how to respond to a past thread...
Meanwhile, on my end, we support application/jsonl
and application/json-lines
MIME types.
from jsonlines.
I would also like to see a suggestion :)
from jsonlines.
Related Issues (20)
- new suggestion to ignore commented lines HOT 2
- "missing piece"
- Clarify if leading white space is ignored HOT 1
- Allow comment lines HOT 3
- Examples are very hard to read HOT 4
- Miller HOT 1
- Suggestion for On the Web Page HOT 1
- CSS HTML Validator v22.0211 supports JSON Lines syntax checking HOT 2
- jsonlines.org down? HOT 4
- Couchbase imports and exports JSON line files HOT 1
- Suggestion: Invalid lines are ignored, or more easily implemented, lines must start with trimmed '{' or '[' HOT 2
- Wrong claims about NDJSON on "On the web" page HOT 1
- Continuous integration for the website HOT 1
- Why? (explain it on website) HOT 7
- jsonlines.org: add dark theme
- Visidata supports JSONL
- Mattermost uses jsonl HOT 1
- Nodejs JSONL validator
- validator does not accept newline at end HOT 3
- bad example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonlines.