Function: encodeValue()
function encodeValue(value: JsonPrimitive): string;
Defined in: _internal/jsonc-helpers.ts:96
JSON-encode a primitive value for insertion into source text.
Parametersโ
valueโ
Value to encode.
Returnsโ
string
JSON-safe string representation.