Skip to content

Function: toJson()

ts
function toJson(model): string;

Defined in: packages/core/src/index.ts:65

Serialize a documentation model to pretty JSON (the raw, emitter-agnostic artifact — like TypeDoc's --json).

Parameters

model

CssDocEntry[]

The entries from parseCssDocs.

Returns

string

A JSON string.

Released under the MIT License