Skip to content

Commit cbf6f4f

Browse files
committed
Fix broken fromRdf API description.
1 parent 76f7c75 commit cbf6f4f

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

index.html

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5301,23 +5301,9 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
53015301
<a href="#serialize-rdf-as-json-ld-algorithm">Serialize RDF as JSON-LD Algorithm</a> method
53025302
using <a data-lt="jsonldprocessor-fromRdf-input">dataset</a>
53035303
and <a data-lt="jsonldprocessor-fromRdf-options">options</a>.</li>
5304-
<li>Create a new <a>RdfDataset</a> <var>dataset</var>.</li>
5305-
<li>Create a new <a>dictionary</a> <var>node map</var>.</li>
5306-
<li>Invoke the
5307-
<a href="#node-map-generation">Node Map Generation algorithm</a>,
5308-
passing <var>expanded input</var> as <var>element</var>
5309-
and <var>node map</var>.</li>
5310-
<li>Invoke the
5311-
<a href="#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
5312-
passing <var>node map</var>,
5313-
<var>dataset</var>,
5314-
and if passed, the <a data-link-for="JsonldOptions">produceGeneralizedRdf</a> flag in <a data-lt="jsonldprocessor-fromRdf-options">options</a>.
5315-
<div class="issue atrisk">The use of <a>blank node identifiers</a> to label properties is obsolete,
5316-
and may be removed in a future version of JSON-LD,
5317-
as is the support for <a>generalized RDF Datasets</a>
5318-
and thus the <a data-link-for="JsonLdOptions">produceGeneralizedRdf</a> option may be also be removed.</div>
5319-
</li>
5320-
<li>Fulfill the <var>promise</var> passing <var>dataset</var>.</li>
5304+
<li>Resolve the <var>promise</var> with <var>expanded result</var>
5305+
<span class="changed">transforming <var>expanded result</var> from the
5306+
<a>internal representation</a> to a JSON serialization</span>.</li>
53215307
</ol>
53225308

53235309
<dl class="parameters">

0 commit comments

Comments
 (0)