Ian Ward

Results 431 comments of Ian Ward

Might be easier to fork this repo and set up a new free cloudflare pages site as a test.

Adding comments/ignored lines makes it more difficult to tell which line of a file corresponds to which record. Without comments, record number == line number, making using unix text tools...

@timbunce under Applications of concatenated JSON I just see a bunch of JSON libraries, what actual applications are using it? I ask because concantenated JSON seems a little silly to...

Yes, I mean wrapping the objects in a JSON array. Can a streaming JSON parser not give you one element at a time?

So to me feels like a hack that's specific to certain json encoders/parsers. If you can't figure out the framing without parsing the content, it's not really framing.

This might need to be clarified in the docs. The separator between lines in json lines is the single UTF-8 byte '\n' i.e. a UNIX-style newline character chr(10) not a...

Also if we're talking about streaming why do we care about having something pretty-printed? That can be handled on the receiving end if someone is interested. If we're talking about...

yes. that was another way of saying as a side effect of the other rules "you can use MSDOS-style newline characters as well"

@timbunce yeah, just some real world examples of people using the pretty-printed form. To me pretty-printed concatenated json seems like a really hard format to deal with.

@GabrielGorta thank you for asking, here are a few reasons: - we can add records to JSONL with file append operations (faster than parsing and re-writing) - we can jump...