Liking cljdoc? Tell your friends :D

json-schema.infer


infer->jsonclj

(infer->json params data)

A helper function that returns inferred schema as JSON

A helper function that returns inferred schema as JSON
sourceraw docstring

infer-strictclj

(infer-strict {:keys [title schema optional] :as params} data)

Naive but strict schema inference from associative data. Strict in the sense that everything is required, and nothing else is allowed.

Params: optional - keys that shouldn't be required

Optional params: title - schema title description - schema description uri - schema uri schema - continue building on schema

Naive but strict schema inference from associative data.
Strict in the sense that everything is required, and nothing
else is allowed.

Params:
  optional    - keys that shouldn't be required

Optional params:
  title       - schema title
  description - schema description
  uri         - schema uri
  schema      - continue building on schema
sourceraw docstring

infer-strict->jsoncljdeprecated

(infer-strict->json data params)

Use infer->schema instead

Use infer->schema instead
sourceraw docstring

sanitize-keyclj

(sanitize-key k)
source

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

× close