Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toCodecJson
Method
toCodecJson
packages/effect/src/SchemaAST.ts:853–855 ·
view source on GitHub ↗
@internal
()
Source
from the content-addressed store, hash-verified
851
}
852
/** @internal */
853
toCodecJson(): AST {
854
return
replaceEncoding(this, [undefinedToNull])
855
}
856
/** @internal */
857
getExpected(): string {
858
return
"void"
Callers
15
schema-representation-roundtrip.ts
File · 0.45
schema-toCodecJson.ts
File · 0.45
Schema.tst.ts
File · 0.45
HttpApiClient.test.ts
File · 0.45
HttpApiBuilder.test.ts
File · 0.45
Cookies.test.ts
File · 0.45
toCodec.test.ts
File · 0.45
SchemaAST.test.ts
File · 0.45
toJsonSchemaMultiDocument.test.ts
File · 0.45
make
Function · 0.45
toRepresentations.test.ts
File · 0.45
SchemaRepresentation.ts
File · 0.45
Calls
1
replaceEncoding
Function · 0.85
Tested by
1
make
Function · 0.36