Liking cljdoc? Tell your friends :D

scjsv.core

Use validator, json-validator, or json-reader-validator to construct a validator function.

Validator functions

The first argument for the validator function is the data. The optional second argument is an options map with the following keys:

keydefaultdescription
:deep-checkfalseCheck nested elements even if the parent elements are invalid.
Use [[validator]], [[json-validator]], or [[json-reader-validator]] to
construct a validator function.

### Validator functions

The first argument for the validator function is the data. The optional second
argument is an options map with the following keys:

| key           | default  | description |
|---------------|----------|-------------|
| `:deep-check` | `false`  | Check nested elements even if the parent elements are invalid.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close