MCPcopy
hub / github.com/loggerhead/json4u / stringify

Method stringify

src/lib/parser/tree.ts:305–310  ·  view source on GitHub ↗
(options: StringifyOptions = {})

Source from the content-addressed store, hash-verified

303 }
304
305 stringify(options: StringifyOptions = {}): string {
306 const root = this.root();
307 this.text = this.stringifyNode(root, options);
308 root.length = this.text.length;
309 return this.text;
310 }
311
312 /**
313 * Stringifies nested JSON sub-trees and applies the changes to the original text.

Callers 12

cloneFunction · 0.80
doStringifyFunction · 0.80
csv2jsonFunction · 0.80
pythonDictToJSONFunction · 0.80
parseAndFormatFunction · 0.80
getAuthenticatedUserMethod · 0.80
setMethod · 0.80
prettyFormatWithFallbackFunction · 0.80
getIPFunction · 0.80
format.bench.tsFile · 0.80
expectEqFunction · 0.80
parse.test.tsFile · 0.80

Calls 2

rootMethod · 0.95
stringifyNodeMethod · 0.95

Tested by 1

expectEqFunction · 0.64