MCPcopy Create free account
hub / github.com/zxlie/FeHelper / formatJsonToHtml

Function formatJsonToHtml

apps/json-format/format-lib.js:1935–1937  ·  view source on GitHub ↗
(json, skin)

Source from the content-addressed store, hash-verified

1933
1934 // 格式化JSON为HTML(同步版本)
1935 function formatJsonToHtml(json, skin) {
1936 return createNode(json).getHTML();
1937 }
1938
1939 function shouldWrapLongString(value) {
1940 const text = String(value == null ? '' : value);

Callers 1

formatSyncFunction · 0.70

Calls 1

createNodeFunction · 0.70

Tested by

no test coverage detected