JSON-LD content often use the layout following layout
{
"@context": {...},
"@graph": [...]
}
where @graph content should be in the default graph whereas in
{
"@context": {...},
"@graph": [...],
"foo": "bar"
}
@graph content is in the named graph.
If I understand properly the JSON-LD streaming document, the parser have to buffer the full file to check if there is no @id or other key at the end of the file (in my example foo).
Am I correct in this interpretation?. If yes would it be worth it to make a new version of the JSON-LD streaming document that would mandate that the @graph key is always the last?