Skip to content

JSON-LD streaming document still mandating buffering the full file #54

@Tpt

Description

@Tpt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ErratumRaisedUsed by the errata management

    Type

    No type

    Projects

    Status

    Errata

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions