Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toJSON
Method
toJSON
packages/effect/test/Formatter.test.ts:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
toJSON() {
30
return
{ secret: this.secret }
31
}
32
33
[Redactable.symbolRedactable]() {
34
return
{ secret:
"[REDACTED]"
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected