How to export HTML table to JSON file in SSIS

Introduction

Exporting data from an HTML table to a JSON file is a common task for integrating web-based data into structured applications. With ZappySys SSIS PowerPack, this process becomes seamless using the HTML Table Source and JSON Destination components. This guide will walk you through the steps to extract data from an HTML table and save it as a JSON file using ZappySys tools.

Prerequisites

  • SSIS PowerPack: Download and install the ZappySys SSIS PowerPack from here .

Steps

  1. Start by dragging and dropping a Data Flow Task onto the control flow.

  2. Inside the Data Flow Task, add an HTML Table Source component.
    HTML table source inside in a Data flow

  3. Configure the HTML Table Source by providing a URL that contains a table. We’ll use Example 1 from our components, specifically Table 9, and then preview the data to verify the information.

  4. Add an JSON destination component, drag and drop it, and then connect it.

  5. Enter the JSON destination component and create a new connection: a flat file with the .json extension

  6. Select an Output option

  7. Now right-click on the Mappings to add element(s) or unbound array/nested elements to your new JSON file. Following is an example.

  8. Press the OK button to save it

  9. Run the package to see the exported JSON data.

Video Tutorial

Conclusion

Exporting data from an HTML table to a JSON file is simplified with ZappySys tools. The HTML Table Source extracts structured data effortlessly, while the JSON Destination saves it in a widely used format. This approach is ideal for building robust ETL workflows and integrating data into modern applications. If you encounter any issues or need further assistance, you can contact our support team via chat on our website

References