UNPKG

@dipscope/type-manager

Version:

Transform JSON strings or plain objects into JS class instances.

10 lines 443 B
/** * Function which returns consistent results when parse JSON object. * * @param {string} x A valid JSON string. * @param {Function} reviver A function that transforms the results. This function is called for each member of the object. * * @returns {any} Consistent JSON parse result. */ export declare function jsonParse(x: string, reviver?: (this: any, key: string, value: any) => any): any; //# sourceMappingURL=json-parse.d.ts.map