UNPKG

niosh-json

Version:

extended json parser and stringify

46 lines 1.03 kB
interface String { /** * parsing string and return relative object or throw exception */ ƒj(): string; } interface Object { /** * stringify item and returing string or throw exception * - on beauty param boolean true, rendering as human like read * @param beauty */ ƒj(beauty: boolean): string; } interface Error { /** * stringify item and returing string or throw exception * - on beauty param boolean true, rendering as human like read * @param beauty */ ƒj(beauty: boolean): string; } interface Number { /** * stringify item and returing string or throw exception */ ƒj(): string; } interface Boolean { /** * stringify item and returing string or throw exception */ ƒj(): string; } interface Date { /** * stringify item and returing string or throw exception */ ƒj(): string; } interface RegExp { /** * stringify item and returing string or throw exception */ ƒj(): string; }