Define use of null in JSON-LD
authorMarkus Lanthaler <>
Wed, 21 Mar 2012 23:09:11 +0800
changeset 391 383507b43e67
parent 390 ce3532a7f23a
child 392 61052a6dc46f
child 393 a36bcde440ca
Define use of null in JSON-LD

This closes #76.
--- a/spec/latest/json-ld-syntax/index.html	Tue Mar 20 17:28:23 2012 -0700
+++ b/spec/latest/json-ld-syntax/index.html	Wed Mar 21 23:09:11 2012 +0800
@@ -384,7 +384,10 @@
       Values that are used to express one of two possible boolean states.
-      The use of the <em>null</em> value is undefined within JSON-LD.
+      Unless otherwise specified, a JSON-LD processor MUST act as if a key-value pair in the body of a JSON-LD document was never declared when the value equals <em>null</em>.
+      If <code>@value</code> or <code>@list</code> is set to <em>null</em> in expanded form, then the entire JSON object is ignored.
+      If <code>@context</code> is set to <em>null</em>, the <tref>active context</tref> is reset and when used
+      within a <tref>context</tref>, it removes any definition associated with the key, unless otherwise specified.