microdata; hixie: Define how to serialise JSON for use in drag-and-drop. (whatwg r6284)

microdata; hixie: Define how to serialise JSON for use in drag-and-drop.
(whatwg r6284)

http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.144&r2=1.145&f=h
http://html5.org/tools/web-apps-tracker?from=6283&to=6284

===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- Overview.html 7 Jul 2011 23:32:45 -0000 1.144
+++ Overview.html 8 Jul 2011 00:17:56 -0000 1.145
@@ -318,7 +318,7 @@
 
    <h1>HTML Microdata</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-7-july-2011">Editor's Draft 7 July 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-8-july-2011">Editor's Draft 8 July 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/microdata/">http://www.w3.org/TR/microdata/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -452,7 +452,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 7 July 2011 Editor's Draft.
+  This specification is the 8 July 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This specification is an extension to the HTML5 language. All
@@ -1540,7 +1540,11 @@
    <li><p>Add an entry to <var title="">result</var> called "<code title="">items</code>" whose value is the array <var title="">items</var>.</li>
 
    <li><p>Return the result of serializing <var title="">result</var>
-   to JSON.</li>
+   to JSON in the shortest possible way (meaning no whitespace between
+   tokens, no unnecessary zero digits in numbers, and only using
+   Unicode escapes in strings for characters that do not have a
+   dedicated escape sequence), and with a lowercase "<code title="">e</code>" used, when appropriate, in the representation of
+   any numbers. <a href="#refsJSON">[JSON]</a></li>
 
   </ol><p class="note">This algorithm returns an object with a single
   property that is an array, instead of just returning an array, so

Received on Friday, 8 July 2011 00:18:22 UTC