MCPcopy 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.tsFile · 0.65
main.tsFile · 0.65
standardResultOfFunction · 0.65
traverse.test.tsFile · 0.65
config.test.tsFile · 0.65
locale.test.tsFile · 0.65
jsonOfFunction · 0.65

Calls

no outgoing calls

Tested by 1

jsonOfFunction · 0.52