Skip to content
Permalink
Browse files

[e] (0) explain about json extensibility

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12966

git-svn-id: http://svn.whatwg.org/webapps@6283 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 7, 2011
1 parent c8dcba9 commit ca2169477de5e35f69e1fdcbb0d48483ffa42c6b
Showing with 17 additions and 2 deletions.
  1. +6 −1 complete.html
  2. +6 −1 index
  3. +5 −0 source
<li><p>Return the result of serializing <var title="">result</var>
to JSON.</li>

</ol><p>When the user agent is to <dfn id=get-the-object>get the object</dfn> for an item
</ol><p class=note>This algorithm returns an object with a single
property that is an array, instead of just returning an array, so
that it is possible to extend the algorithm in the future if
necessary.</p>

<p>When the user agent is to <dfn id=get-the-object>get the object</dfn> for an item
<var title="">item</var>, optionally with a list of elements <var title="">memory</var>, it must run the following substeps:</p>

<ol><li><p>Let <var title="">result</var> be an empty object.</li>
7 index
<li><p>Return the result of serializing <var title="">result</var>
to JSON.</li>

</ol><p>When the user agent is to <dfn id=get-the-object>get the object</dfn> for an item
</ol><p class=note>This algorithm returns an object with a single
property that is an array, instead of just returning an array, so
that it is possible to extend the algorithm in the future if
necessary.</p>

<p>When the user agent is to <dfn id=get-the-object>get the object</dfn> for an item
<var title="">item</var>, optionally with a list of elements <var title="">memory</var>, it must run the following substeps:</p>

<ol><li><p>Let <var title="">result</var> be an empty object.</li>
5 source

</ol>

<p class="note">This algorithm returns an object with a single
property that is an array, instead of just returning an array, so
that it is possible to extend the algorithm in the future if
necessary.</p>

<p>When the user agent is to <dfn>get the object</dfn> for an item
<var title="">item</var>, optionally with a list of elements <var
title="">memory</var>, it must run the following substeps:</p>

0 comments on commit ca21694

Please sign in to comment.
You can’t perform that action at this time.