this adds a decoder for NDJSON payloads. NDJSON is the Newline Delimited JSON format, and it is suitable for encoding/transmitting multiple JSON records in bulk, or for streaming them.
The standard JSON variant implemented with GH-40 is not really suitable for submitting data from embedded devices, because wrapping up multiple JSON records into an array will probably blow up your memory quickly.
Hi there,
this adds a decoder for NDJSON payloads. NDJSON is the Newline Delimited JSON format, and it is suitable for encoding/transmitting multiple JSON records in bulk, or for streaming them.
The standard JSON variant implemented with GH-40 is not really suitable for submitting data from embedded devices, because wrapping up multiple JSON records into an array will probably blow up your memory quickly.
NDJSON has been called LDJSON before being reasonably specified, and has also been known as JSON Lines, see also JSON streaming. It looks like this:
With kind regards, Andreas.
/cc @tonkenfo, @wetterfrosch, @msweef, @elektra42