Skip to content

Simple JQuery library to convert HTML table to JSON object.

License

Notifications You must be signed in to change notification settings

Praveent696/Table2Json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Table2Json

Simple JQuery library to convert HTML table to JSON object. A minimalist jQuery based Table To JSON converter that allows you to serialize tabular data into JSON objects.

How to use it:

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

    <script src="//code.jquery.com/jquery.min.js"></script>
    <script src='js/TableToJson.min.js'></script>
  • Convert your tabular data into JavaScript values:

      makeJsonFromTable('tableIDToConvert')
  • Convert JavaScript values to JSON objects:

      JSON.stringify(makeJsonFromTable('tableToConvert'))

Thanks for your support

About

Simple JQuery library to convert HTML table to JSON object.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published