Replies: 4 comments 2 replies
-
For records, here is what a NDJSON look like {"value":"foo"}
{"value":"bar"} Any "classic JSON file" is a one line NDJSON |
Beta Was this translation helpful? Give feedback.
-
Here is a parser for ndjson with a lot of star https://github.com/minio/simdjson-go https://pkg.go.dev/github.com/minio/simdjson-go#ParseND It could be useful Even if parsing NDJSON is about trimming spaces, splitting by new lines then iterating on each line as a regular JSON |
Beta Was this translation helpful? Give feedback.
-
@ccoVeille Seems like a great addition - are you thinking updating the json validator to also support NDJSON or a separate validator? |
Beta Was this translation helpful? Give feedback.
-
@kehoecj could transform this discussion into an issue and assign it to me ? It would help me find them back on GitHub, thanks. |
Beta Was this translation helpful? Give feedback.
-
I would like you to consider New Line delimited JSON as a supported format.
The usual extensions for these file type are
.ndjson
or.jsonnl
I'm opening a discussion instead of opening a feature request/issue, because I would like to ask you first what you think about it
Beta Was this translation helpful? Give feedback.
All reactions