export function toJSONString()

in src/utils/common.ts [170:178]


export function toJSONString(json: any, replacer?: (number | string)[] | null, space?: string | number) {
  let result: string = '';
  try {
    result = stringify(json, replacer, space) || '';
  } catch (e) {
    console.error(e);
  }
  return result;
}