UNPKG

@mi-gpt/utils

Version:
7 lines (5 loc) 221 B
declare function jsonEncode<T>(obj: T, options?: { prettier?: boolean; }): string | undefined; declare function jsonDecode<T = any>(json: string | null | undefined): T | undefined; export { jsonDecode, jsonEncode };