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

Method toObject

src/lib/parser/tree.ts:83–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 toObject(): TreeObject {
84 return Tree.assign({} as TreeObject, this);
85 }
86
87 valid() {
88 return this.root() && !this.hasError();

Callers 4

parseAndFormatFunction · 0.80
useOnFileFunction · 0.80
onClickPreviewFunction · 0.80
convertFunction · 0.80

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected