MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / toJSON

Method toJSON

packages/utils/renderer/highlight.js:166–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 for (; this.closeNode(); );
165 }
166 toJSON() {
167 return JSON.stringify(this.rootNode, null, 4);
168 }
169 walk(e) {
170 return this.constructor._walk(e, this.rootNode);
171 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected