Class JsonFileDataSourceProvider
- Namespace
- ReportWright.Data.Json
- Assembly
- ReportWright.Data.Json.dll
JSON files under a directory the host resolved. The connection string is the directory; a dataset's
command text is a file path under it, or a request spec {"file": "sales.json", "rows": "$.items"}.
The Rows property gives a default path to the array of rows.
public sealed class JsonFileDataSourceProvider : DataSourceProvider
- Inheritance
-
JsonFileDataSourceProvider
- Inherited Members
Constructors
Fields
- ProviderKind
The kind this provider serves.
Properties
Methods
- DiscoverSchema(ResolvedDataSource, ReportDataQuery, DataSourceExecutionOptions, CancellationToken)
Discovers the fields a dataset's query yields, without reading its rows where the source allows.
- Execute(ResolvedDataSource, ReportDataQuery, DataSourceExecutionOptions, CancellationToken)
Runs a dataset's query.
- Test(ResolvedDataSource, CancellationToken)
Tests that the source can be reached, without running a dataset.