Connect a JSON file with Bold Data Hub

The Bold Data Hub JSON connector loads data from a JSON file into Bold Reports®. JSON is a lightweight text format used to store and exchange data. It is widely used in web APIs and applications because it is simple and structured. It is easy for humans to read and write, and easy for machines to parse and generate.

Example Configuration

The Bold Data Hub JSON connector uses the FileSystem extractor with type: json, as this YAML template shows:

version: 1.0.1
encrypt_credentials: false
union_all_tables: true
add_dbname_column: false
use_snake_casing: true
plugins:
  extractors:
  - name: FileSystem
      connectorname: FileSystem
      schemaname:
      config:
      properties:
        storage: local
        type: json
        filePath: C:\BoldServices\app_data\elt\connectors\mockdata.json
      metadata:
      select:

How do I connect a JSON file in Bold Data Hub?

You connect a JSON file by creating a pipeline in Bold Data Hub, adding the JSON template, and pointing the filePath property to your uploaded file.

  1. Click the Data Hub icon on the Navigation Pane.

    JSON Data Hub- Reports

  2. Click Add Pipeline and enter a name for the new pipeline.

    JSON Data Hub - Reports

  3. Select the newly created pipeline and add the JSON template.

    JSON Data Hub - Reports

  4. Click the Upload File button to upload your JSON file.

    JSON Data Hub - Reports

  5. Copy the file path and paste it into the filePath property.

    JSON Data Hub - Reports

    JSON Data Hub - Reports

  6. Click Save and choose the destination to save the pipeline.

    JSON Data Hub - Reports

Creating a pipeline in Bold Data Hub automatically creates a data source in Bold Reports®. The Bold Reports® data source is a live data source to the destination database used in Bold Data Hub.

JSON Data Hub - Reports

How do I schedule the JSON pipeline?

You schedule the JSON pipeline in Bold Data Hub from the schedules tab, or you run it on demand.

  1. To configure interval-based scheduling, click the schedules tab, select the created pipeline, click the schedule icon, and configure the schedule.

    JSON Data Hub - Reports

    JSON Data Hub - Reports

  2. For an on-demand refresh, click the Run Now button.

    JSON Data Hub - Reports

  3. Check the schedule history with the history option and the logs.

    JSON Data Hub - Reports

  4. Click Logs to see whether the run is completed and the data source is created in Bold Reports®.

    JSON Data Hub - Reports

Frequently asked questions

Which extractor does the Bold Data Hub JSON connector use?

The Bold Data Hub JSON template uses the FileSystem extractor with storage: local and type: json.

Does a JSON pipeline create a Bold Reports® data source?

Yes. Creating a pipeline in Bold Data Hub automatically creates a live data source in Bold Reports® for the destination database.

See also