MCPcopy Index your code
hub / github.com/zxlie/FeHelper / _stringifyJsonForFormatter

Function _stringifyJsonForFormatter

apps/json-format/content-script.js:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 };
122
123 let _stringifyJsonForFormatter = jsonObj => {
124 const utils = _getJsonAutoUtils();
125 if (typeof utils.safeStringify === 'function') {
126 return utils.safeStringify(jsonObj);
127 }
128 return JSON.stringify(jsonObj);
129 };
130
131 let _coerceDecodedJsonSource = (source, decodedSource) => {
132 const utils = _getJsonAutoUtils();

Callers 2

_didFormatFunction · 0.85
_formatTheSourceFunction · 0.85

Calls 1

_getJsonAutoUtilsFunction · 0.85

Tested by

no test coverage detected