MCPcopy Create free account
hub / github.com/Effect-TS/effect / toJSON

Function toJSON

packages/effect/src/internal/trie.ts:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 return `Trie(${format(Array.from(this))})`
56 },
57 toJSON() {
58 return {
59 _id: "Trie",
60 values: toJson(Array.from(this))
61 }
62 },
63 [NodeInspectSymbol]() {
64 return this.toJSON()
65 },

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected