Update expansion algorithm to run the flattening algorithm if the flag is set
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 01 Oct 2012 16:36:29 +0200
changeset 898 f8ba1dbf82e0
parent 897 b015a03b753c
child 899 b52a1761985e
Update expansion algorithm to run the flattening algorithm if the flag is set

This is a quick fix to hook the different algorithms together and addresses issue #109.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Mon Oct 01 16:30:07 2012 +0200
+++ b/spec/latest/json-ld-api/index.html	Mon Oct 01 16:36:29 2012 +0200
@@ -1706,6 +1706,9 @@
   property, <em>element</em> is set to the value of <code>@graph</code>'s value. Finally, if <em>element</em> is a <tref>JSON object</tref>,
   it is wrapped into an <tref>array</tref>.</p>
 
+<p>If the <code class="idlMemberName"><a href="#widl-JsonLdOptions-flatten">flatten</a></code> option is not <code>false</code>, run the
+  <a href="#flattening-algorithm">Flattening Algorithm</a>.</p>
+
 </section>
 
 </section>