UNPKG

@stryke/json

Version:

A package containing JSON parsing/stringify utilities used by Storm Software.

13 lines 623 B
//#region src/utils/stringify.d.ts declare const invalidKeyChars: readonly ["@", "/", "#", "$", " ", ":", ";", ",", ".", "!", "?", "&", "=", "+", "-", "*", "%", "^", "~", "|", "\\", "\"", "'", "`", "{", "}", "[", "]", "(", ")", "<", ">"]; /** * Stringify a value to a JSON-like string. * * @param value - The value to stringify * @param spacing - The spacing to use for the stringification * @returns The stringified value */ declare const stringify: (value: unknown, spacing?: string | number) => string; //#endregion export { stringify as n, invalidKeyChars as t }; //# sourceMappingURL=stringify-DmFQNlfp.d.cts.map