-
Notifications
You must be signed in to change notification settings - Fork 157
Use of null in JSON-LD #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note that null can't be used as a key in JSON. |
Uses within @context:
|
Of potential value (e.g. for "probing", representing "inverse relations" etc.):
.. this is now described in depth in #84. |
There are two ways null can be used in JSON-LD... in the @context and in the body of the document. I think we found consensus last time by stating that if 'null' is used in the value position in the body of the document, then a processor must ignore the key-value pair. If null is used in the @context, it has a number of different effects: Clear the active context: "@context": null and "@context:" [null, ...] Any other places that null could be used? |
Perhaps we should also define what happens if something like The same for lists? Or should |
RESOLVED: Unless otherwise specified, when 'null' is used in the RESOLVED: If RESOLVED: Unless otherwise specified, if |
In updating the algorithms, because the value must act as if it's not there, it results in data being removed when expanded, rather than compacted. |
Proposal: unless otherwise specified, the use of null as a value MUST be treated as if the value was never specified; i.e., it has no effect.
Proposal: unless otherwise specified, the use of null as a key is treated as if the key/value was never specified, and values of that key MUST NOT be processed.
Such uses MUST be removed when compacting.
The text was updated successfully, but these errors were encountered: