Make context in flatten() optional
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 22 Apr 2013 14:40:31 +0200
changeset 1596 4252a2cb7c06
parent 1595 bd4a2f8abd4a
child 1597 32af88fc2f91
Make context in flatten() optional
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Mon Apr 22 14:32:06 2013 +0200
+++ b/spec/latest/json-ld-api/index.html	Mon Apr 22 14:40:31 2013 +0200
@@ -3910,11 +3910,11 @@
           <dt>JsonLdInput input</dt>
            <dd>The JSON-LD object or array of JSON-LD objects or an <tref>IRI</tref>
             referencing the JSON-LD document to flatten.</dd>
-          <dt>JsonLdContext? context</dt>
+          <dt>optional JsonLdContext? context</dt>
           <dd>The context to use when compacting the flattened <code>input</code>; either
-            in the form of a <tref>JSON object</tref> or as <tref>IRI</tref>. If
-            <tref>null</tref> is passed, the result will not be compacted but kept
-            in expanded form.</dd>
+            in the form of a <tref>JSON object</tref> or as <tref>IRI</tref>. If not
+            passed or <tref>null</tref> is passed, the result will not be compacted
+            but kept in expanded form.</dd>
           <dt>optional JsonLdOptions options</dt>
           <dd>A set of options to configure the used algorithms such. This allows, e.g.,
             to set the input document's base <tref>IRI</tref>.</dd>