eslint-plugin-copilot Documentation / _internal/repository-hooks-json / parseJsonText
Function: parseJsonText()
function parseJsonText(text: string): JsonValue | undefined;
Defined in: _internal/repository-hooks-json.ts:89
Safely parse JSON source text.
Parametersâ
| Parameter | Type |
|---|---|
text | string |
Returnsâ
JsonValue | undefined