json

declare function json<Data extends IOutlineData = IOutlineData, Param extends IOutlineParam = IOutlineParam>(outlineName: OutlineName, param?: IOutlineParam): Promise<IOutlineResult<Data, Param>>;

Processes an outline request to generate structured JSON data based on a specified outline schema. Delegates to an internal context-isolated function to ensure clean execution.

Parameter Description
outlineName The unique name of the outline schema to process.
param The input param to process, defaults to an empty object.