Table of Contents

Namespace ReportWright.Data.Json

Classes

JsonFileDataSourceProvider

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.

RestDataSourceOptions

What the host allows a REST data source to do. The allowlist is the SSRF defence: a request to a host not listed fails closed before any connection is made, redirects are never followed, and a response larger than the cap is refused rather than read.

RestDataSourceProvider

JSON over HTTP. The connection string is the base URL; a dataset's command text is a URL (relative to it, or absolute) with {Name} placeholders for query parameters, URL-encoded on substitution, or a request spec {"url","method","body","rows"} whose body placeholders are JSON-encoded. Every request passes the host's RestDataSourceOptions allowlist first; redirects are refused.