Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
NDJSON: newline-delimited JSON (ndjson.org)
2 points by nerdponx on Sept 5, 2017 | hide | past | favorite | 2 comments


It's useful alright, however every time I'm reading records in a stream I prefer to have it prefixed with the record size in bytes.

However, having a new line delimiter is sure easier than trying to find the end of a JSON structure.


Prefixing records with their size sounds like how Messagepack works.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: