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

Function _getJsonObject

apps/json-format/content-script.js:1399–1408  ·  view source on GitHub ↗
(source, parseOptions)

Source from the content-addressed store, hash-verified

1397 * @returns
1398 */
1399 let _getJsonObject = function (source, parseOptions) {
1400 let parsed = _parseJsonLike(source, parseOptions);
1401 if (!parsed) {
1402 return;
1403 }
1404 funcName = parsed.funcName;
1405 fnTry = parsed.fnTry;
1406 fnCatch = parsed.fnCatch;
1407 return parsed.value;
1408 };
1409
1410 /**
1411 * 根据最终拿到的json source,对页面进行格式化操作

Callers 2

_getJsonTextFunction · 0.85
_formatTheSourceFunction · 0.85

Calls 1

_parseJsonLikeFunction · 0.85

Tested by

no test coverage detected