Skip to content

Clarify support for interpreting-json-as-json-ld  #166

@rob-metalinkage

Description

@rob-metalinkage

The JSON-LD specification allows injecting a context into a json document before parsing..

https://w3c.github.io/json-ld-syntax/#interpreting-json-as-json-ld

It is not obvious how PyLD supports this mode of processing - when accessing a document that sets the context via a link header it gets passed to process_context() - but it should be possible to force use of a context during parsing json that comes from other sources, and cannot set the link header this way. I suspect this is possibly just a small tweak and/or updating the README with a relevant example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions