json.d.ts 364 B

123456
  1. /**
  2. * Attempt to json-stringify an object which is potentially very large and might exceed the string limit.
  3. * If it does exceed the string limit, try again without pretty-print to hopefully come out below the string limit.
  4. * @param obj the object from which you want to get a JSON string
  5. */
  6. export declare function jsonStringifyLargeObject(obj: any): string;