This topic describes how to add a static JSON file as the data source in DataV.

Procedure

  1. Log on to the DataV console.
  2. Create a project. For more information, see Create a project.
  3. On the edit page of the template project, click a widget in the application canvas. In the right-side configuration pane, click the Data tab.
  4. On the Data tab, click Set.
  5. In the Set Data Source pane, select Static Data from the Data Source Type drop-down list.
    Set Data Source pane
  6. Paste the content of the JSON file to the data section shown in this figure.
    Notice The file size must be less than 512 KB.
  7. Click Preview Data Response to view the response style of the data source.