UNPKG

@iota-pico/core

Version:
14 lines (13 loc) 589 B
/** * Json helper methods. */ export declare class JsonHelper { /** * Stringify an object with recursion breaking. * @param value A JavaScript value, usually an object or array, to be converted. * @param replacer A function that transforms the results. * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. * @returns String version of the object. */ static stringify(value: any, replacer?: (key: string, value: any) => any, space?: string | number): string; }