JsonSchema.check.classic
Given a JSON Schema spec, returns a predicate function that accepts any input and returns a boolean indicating whether the input satisfied the spec.
Pros:
Cons:
JsonSchema.check
See also:
JsonSchema.check.writeable
JsonSchema.check.classicGiven a JSON Schema spec, returns a predicate function that accepts any input and returns a boolean indicating whether the input satisfied the spec.
Pros:
JsonSchema.check.classicworks in any environment, including Cloudflare workersCons:
JsonSchema.check.classichas worse performance thanJsonSchema.checkSee also:
JsonSchema.checkJsonSchema.check.writeable