The JSON-LD WG has discussed in the past something called NDJSON-LD that allows for having multiple JSON-LD document in a single file, by separating them with newlines: https://github.com/json-ld/ndjson-ld
This work was not continued, and the current JSON-LD WG charter (until 31 January 2028) does not foresee working on it.
However, it was used in practice. From the JSON-LD WG call I got the following pointers:
I think this is valuable. We should compile this into a use case mention in the spec.
The JSON-LD WG has discussed in the past something called NDJSON-LD that allows for having multiple JSON-LD document in a single file, by separating them with newlines: https://github.com/json-ld/ndjson-ld
This work was not continued, and the current JSON-LD WG charter (until 31 January 2028) does not foresee working on it.
However, it was used in practice. From the JSON-LD WG call I got the following pointers:
I think this is valuable. We should compile this into a use case mention in the spec.