typia
Version:
Superfast runtime validators with only one line
14 lines (13 loc) • 693 B
TypeScript
/**
* In the past, name of `typia` was `typescript-json`, and supported JSON
* serialization by wrapping `fast-json-stringify. `typescript-json`was a helper
* library of`fast-json-stringify`, which can skip manual JSON schema definition
* just by putting pure TypeScript type.
*
* This `$string` function is a part of `fast-json-stringify` at that time, and
* still being used in `typia` for the string serialization.
*
* @reference https://github.com/fastify/fast-json-stringify/blob/master/lib/serializer.js
* @blog https://dev.to/samchon/good-bye-typescript-is-ancestor-of-typia-20000x-faster-validator-49fi
*/
export declare const _jsonStringifyString: (str: string) => string;