Convert HTML Table Into JSON With jQuery Table2Json - Download Convert HTML Table Into JSON With jQuery - Table2Json

Download Convert HTML Table Into JSON With jQuery – Table2Json

Posted on

This time I will share jQuery Plugin and tutorial about Convert HTML Table Into JSON With jQuery – Table2Json, hope it will help you in programming stack.

Convert HTML Table Into JSON With jQuery Table2Json - Download Convert HTML Table Into JSON With jQuery - Table2Json
File Size: 5.95 KB
Views Total: 12520
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A minimalist jQuery based Table To JSON converter that allows you to serialize tabular data into JSON objects.

How to use it:

1. Load jQuery library and the minified version of the jQuery Table2Json plugin at the end of the html page.

1 <script src="//code.jquery.com/jquery.min.js"></script>
2 <script src='js/TableToJson.min.js'></script>

2. Convert your tabular data into JavaScript values:

1 makeJsonFromTable('tableIDToConvert')

3. Convert JavaScript values to JSON objects:

1 JSON.stringify(makeJsonFromTable('tableToConvert'))

This awesome jQuery plugin is developed by Praveent696. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net