lanthaler / JsonLD

JSON-LD processor for PHP
MIT License
335 stars 62 forks source link

Add @protected & @version #110

Open botris opened 9 months ago

botris commented 9 months ago

Json LD defines both protected and version, this PR adds both.

k00ni commented 9 months ago

Good addition. Please add fixes #111 or add #111 in Development tab (right side), so it gets closed when this PR is merged.

k00ni commented 9 months ago

Ping @lanthaler

lanthaler commented 9 months ago

JsonLD is a 1.0 compliant parser, not 1.1. These changes break 1.0 compliance but don't make it 1.1 compliant as many of the new features will remain unsupported.

We thus unfortunately can't merge this in the current form. We either need to hide this behind a configuration flag or extend this PR to make JsonLD fully compliant with JSON-LD 1.1.