Skip to content

Commit

Permalink
The table property has become tables in the JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman committed Jul 7, 2015
1 parent f7e9c55 commit 25b56b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion csv2json/index.html
Expand Up @@ -289,7 +289,7 @@ <h3>Standard mode</h3>
<p>Insert the following name-value pair into <a>object</a> <var>G</var>:</p>
<dl class="nvp">
<dt>name</dt>
<dd><code>table</code></dd>
<dd><code>tables</code></dd>
<dt>value</dt>
<dd><var>A<sub>T</sub></var></dd>
</dl>
Expand Down Expand Up @@ -1426,6 +1426,7 @@ <h2>Changes since the working draft of 16 April 2015</h2>
<li>A note has been added to the <a href="#datatypes">section on datatype</a> making it clear that the new <code>@id</code> annotation in the model is ignored for JSON.</li>
<li>The <a href="#standard-mode">section on generating JSON in standard mode</a> has been amended to include the provision of <a href="http://w3c.github.io/csvw/syntax/#dfn-row-titles" class="externalDFN">row title</a> annotation values.</li>
<li>The <a href="#generating-json">section on generating JSON</a> has been amended to include a note on the fact that no Unicode normalization is applied on string values.</li>
<li>The <code>table</code> and <code>title</code> properties have been changed to <code>tables</code> and <code>titles</code>, respectively, to be consistent in the usage of plural forms.</li>
</ul>
</section>

Expand Down
2 changes: 1 addition & 1 deletion examples/countries-standard.json
@@ -1,5 +1,5 @@
{
"table": [{
"tables": [{
"url": "http://example.org/countries.csv",
"row": [{
"url": "http://example.org/countries.csv#row=2",
Expand Down
2 changes: 1 addition & 1 deletion examples/events-listing-standard.json
@@ -1,5 +1,5 @@
{
"table": [{
"tables": [{
"url": "http://example.org/events-listing.csv",
"row": [{
"url": "http://example.org/events-listing.csv#row=2",
Expand Down
2 changes: 1 addition & 1 deletion examples/public-sector-roles-and-salaries-standard.json
@@ -1,5 +1,5 @@
{
"table": [{
"tables": [{
"url": "http://example.org/senior-roles.csv",
"row": [{
"url": "http://example.org/senior-roles.csv#row=2",
Expand Down
2 changes: 1 addition & 1 deletion examples/tree-ops-ext-standard.json
@@ -1,5 +1,5 @@
{
"table": [{
"tables": [{
"@id": "http://example.org/tree-ops-ext",
"url": "http://example.org/tree-ops-ext.csv",
"dc:title": "Tree Operations",
Expand Down

0 comments on commit 25b56b8

Please sign in to comment.