Coder Social home page Coder Social logo

Comments (10)

goloroden avatar goloroden commented on August 24, 2024 19

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.

wardi avatar wardi commented on August 24, 2024 12

ndjson is now essentially the same format, why not use theirs "application/x-ndjson" https://github.com/ndjson/ndjson-spec

from jsonlines.

AndreCAndersen avatar AndreCAndersen commented on August 24, 2024 7

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.

giorgiosironi avatar giorgiosironi commented on August 24, 2024 6

FWIW application/json is incorrect, because multiple lines of JSON values are not valid JSON.

from jsonlines.

kmike avatar kmike commented on August 24, 2024 4

At ScrapingHub we're using application/x-jsonlines.

from jsonlines.

dimaqq avatar dimaqq commented on August 24, 2024 4

json-seq has slightly different format than jsonl Orz

from jsonlines.

whlavina avatar whlavina commented on August 24, 2024 1

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.

sthagen avatar sthagen commented on August 24, 2024 1

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.

dimaqq avatar dimaqq commented on August 24, 2024 1

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.

webwurst avatar webwurst commented on August 24, 2024

I would also like to see a suggestion :)

from jsonlines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.