Liking cljdoc? Tell your friends :D

scjsv.core


json-validatorclj

(json-validator schema)
(json-validator schema json-schema-factory)

Returns a JSON string validator (a single arity fn). Schema can be given either as a JSON String or a Clojure Map.

To configure the validator, you can pass a JsonSchemaFactory instance or a options map as the second parameter. See scjsv.core/validator docstring for the options.

Returns a JSON string validator (a single arity fn).
Schema can be given either as a JSON String or a Clojure Map.

To configure the validator, you can pass a JsonSchemaFactory instance or a
options map as the second parameter. See scjsv.core/validator docstring for
the options.
sourceraw docstring

validatorclj

(validator schema)
(validator schema json-schema-factory)

Returns a Clojure data structure validator (a single arity fn). Schema can be given either as a JSON String or a Clojure Map.

To configure the validator, you can pass a JsonSchemaFactory instance or an options map as the second parameter. The options map can have the following keys:

:dereferencing -- Which dereferencing mode to use. Either :canonical (default) or :inline.

Returns a Clojure data structure validator (a single arity fn).
Schema can be given either as a JSON String or a Clojure Map.

To configure the validator, you can pass a JsonSchemaFactory instance or an
options map as the second parameter. The options map can have the following
keys:

:dereferencing -- Which dereferencing mode to use. Either :canonical (default)
                  or :inline.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close