Liking cljdoc? Tell your friends :D

insilica.jinx.validate


->sequentialclj/s

(->sequential x)
source

array?clj/s

(array? x)
source

char-code-atclj/s

(char-code-at str pos)
source

char-seqclj/s

(char-seq str)
(char-seq str offset)

Return a seq of the characters in a string, making sure not to split up UCS-2 (or is it UTF-16?) surrogate pairs. Because JavaScript. And Java.

Return a seq of the characters in a string, making sure not to split up
UCS-2 (or is it UTF-16?) surrogate pairs. Because JavaScript. And Java.
sourceraw docstring

check-formatclj/smultimethod

source

decode-contentclj/s

(decode-content content-encoding instance)
source

float-remclj/s

(float-rem i m)
source

handle-multiple-annotationsclj/smultimethod

source

integer?clj/s

(integer? x)
source

merge-annotationsclj/s

(merge-annotations & maps)
source

number?clj/s

(number? x)
source

object?clj/s

(object? x)
source

peek-throughclj/s

(peek-through ctx kw)
source

process-keywordclj/smultimethod

Allow for additional vocabularies by making this extensible.

'Validation keywords typically operate independently, without affecting each other's outcomes.' -- 3.1.1

However, given there are some exceptions, the full schema object is also provided as a map.

The instance and annotations args are the latest version of the instance currently established, not (necessarily) the original data value.

A method can update the values of the instance and annotations by returning a map optionally containing :instance and :annotations correspondingly.

Allow for additional vocabularies by making this extensible.

'Validation keywords typically operate independently, without
 affecting each other's outcomes.' -- 3.1.1

However, given there are some exceptions, the full schema object is
also provided as a map.

The instance and annotations args are the latest version of the
instance currently established, not (necessarily) the original data
value.

A method can update the values of the instance and annotations by
returning a map optionally containing :instance and :annotations
correspondingly.
sourceraw docstring

read-json-stringclj/s

(read-json-string json-str)
source

schema?clj/s

(schema? x)
source

some-some?clj/s

(some-some? pred coll)

We need a version of some that treats false as a value

We need a version of some that treats false as a value
sourceraw docstring

type-predsclj/s

source

validateclj/s

(validate schema instance)
(validate schema instance options)

Options can contain an optional :base-document which will be used when resolving $ref references, otherwise the schema document is used as the base document. Resolvers can be overridden by specifying :resolvers in the options.

Options can contain an optional :base-document which will be used when
resolving $ref references, otherwise the schema document is used as the base
document. Resolvers can be overridden by specifying :resolvers in the
options.
sourceraw docstring

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

× close