JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://lightswitch05.github.io/table-to-json/javascripts/jquery.tabletojson.min.js"></script>
<table id="example-table" class="table table-striped">
<thead>
<tr><th>Column 1</th><th>Column 2</th><th>Column 3</th></tr>
</thead>
<tbody>
<tr><td>A1</td><td>A2</td><td>A3</td></tr>
<tr><td>B1</td><td>B2</td><td>B3</td></tr>
<tr><td>C1</td><td>C2</td><td>C3</td></tr>
</tbody>
</table>
<button id="run" class="btn btn-primary">Convert!</button>
CSS
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
JavaScript
$('#run').click( function() {
var table = $('#example-table').tableToJSON();
table = {"myrows": table};//make myrows the parent object
alert(JSON.stringify(table));
});