Table To Json

screenshot of Table To Json

Serializes HTML tables into JSON objects.

Overview:

Table To JSON is a jQuery plugin that allows users to serialize HTML tables into JavaScript objects. It offers features such as finding column headings, overriding column names, handling nested tables, and various options to customize the conversion process. The tool is recommended for direct integration into projects, but a CDN option is also available for usage.

Features:

  • Automatic Column Heading Detection: Automatically finds column headings in HTML tables.
  • Override Column Headings: Users can override found column headings using data-override attribute.
  • Handling Nested Tables: Not confused by nested tables within the main table.
  • Rowspan and Colspan Support: Works seamlessly with rowspan and colspan attributes.
  • Column Extraction Options: Options to ignore specific columns, extract only specified columns, and handle hidden or empty rows.
  • Preservation of HTML Tags: Includes an option to preserve HTML tags within table cells during serialization.
  • Custom Text Extraction: Users can define a custom function to extract text from table cells.
grunt
Grunt

Grunt is a popular JavaScript task runner that automates repetitive tasks like minification, compilation, and testing, allowing developers to focus on writing code.