Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arktypeio/arktype
/ toJSON
Method
toJSON
ark/type/variants/base.ts:151–151 ·
view source on GitHub ↗
* alias of json for `JSON.stringify` compatibility
()
Source
from the content-addressed store, hash-verified
149
* alias of {@link json}
for
`JSON.stringify` compatibility
150
*/
151
toJSON(): JsonStructure
152
153
/**
154
* #### generate a JSON Schema
Callers
9
standalone.test.ts
File · 0.65
main.ts
File · 0.65
standardResultOf
Function · 0.65
discrimination.test.ts
File · 0.65
traverse.test.ts
File · 0.65
config.test.ts
File · 0.65
locale.test.ts
File · 0.65
jsonOf
Function · 0.65
onUndeclaredKey.test.ts
File · 0.65
Calls
no outgoing calls
Tested by
1
jsonOf
Function · 0.52