UNPKG

locutus

Version:

Locutus other languages' standard libraries to JavaScript for fun and educational purposes

7 lines (6 loc) 227 B
type JsonPrimitive = string | number | boolean | null; type JsonValue = JsonPrimitive | JsonValue[] | { [key: string]: JsonValue; }; export declare function json_decode<T = JsonValue>(strJson: string): T | null; export {};