Skip to content

Instantly share code, notes, and snippets.

@mamund
Created October 16, 2012 15:25
Show Gist options
  • Save mamund/3899949 to your computer and use it in GitHub Desktop.
Save mamund/3899949 to your computer and use it in GitHub Desktop.
Sample representations of the same data
north south east west
300 200 350 150
<table class="sales">
<thead>
<tr>
<td>north</td>
<td>south</td>
<td>east</td>
<td>west</td>
</tr>
</thead>
<tbody>
<tr class="regions">
<td class="north">300</td>
<td class="south">200</td>
<td class="east">350</td>
<td class="west">150</td>
</tr>
</tbody>
</table>
{
"sales" :
{
"regions" :
[
{"north" : 300},
{"south" : 200},
{"east" : 350},
{"west" : 150}
]
}
}
<sales>
<region name="north">
300
</region>
<region name="south">
200
</region>
<region name="east">
350
<region>
<region name="west">
150
</region>
</sales>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment