Diction 0.2.1
Released under the Eclipse Public License
Diction is a Clojure data dictionary with data shape definition/validation/generation with batteries included.
Installation
To install, add the following dependency to your project or build file:
[diction "0.2.1"]
Topics
Namespaces
diction.core
Public variables and functions:
- *force-sensible*
- *generate-all-fields*
- <-meta
- boolean!
- clean
- clear-decoration-rules!
- clear-dictionary!
- clear-undecoration-rules!
- clear-validation-rules!
- clone!
- custom-element!
- data-dictionary
- decorate
- decoration-rule!
- decoration-rules
- default-gen-vector-max
- default-gen-vector-min
- diction-boolean
- diction-double
- diction-double-neg
- diction-double-pos
- diction-float
- diction-float-neg
- diction-float-pos
- diction-int
- diction-int-neg
- diction-int-pos
- diction-joda
- diction-keyword
- diction-long
- diction-long-neg
- diction-long-pos
- diction-string
- diction-uuid
- dictionary
- dictionary!
- document!
- document-or-field
- document?
- double!
- element!
- entity!
- enum!
- explain
- explain-all
- export-elements!
- export-elements-to!
- export-entries
- export-entries-to-file!
- field-element-id
- filter-out-diction-elements
- float!
- force-generate
- function!
- functions
- functions!
- generate
- generate-nested-elements
- generate-random-boolean
- generate-random-double
- generate-random-float
- generate-random-int
- generate-random-joda
- generate-random-keyword
- generate-random-long
- generate-random-map
- generate-random-poly-vector
- generate-random-set
- generate-random-string
- generate-random-tuple
- generate-random-vector
- generate-regex-keyword
- generate-regex-string
- generate-sensibly
- generate-test-arguments
- groom
- help
- import!
- import-boolean!
- import-clone!
- import-document!
- import-double!
- import-element!
- import-entries!
- import-entries-from-file!
- import-enum!
- import-float!
- import-from-file!
- import-keyword!
- import-long!
- import-neg-double!
- import-neg-float!
- import-neg-long!
- import-ofs!
- import-poly-vector!
- import-pos-double!
- import-pos-float!
- import-pos-long!
- import-set!
- import-string!
- import-tuple!
- import-vector!
- imports!
- info
- inherit!
- int!
- joda!
- keyword!
- long!
- lookup
- map!
- meta-query
- neg-double!
- neg-float!
- neg-int!
- neg-long!
- opt-key
- opt-un-key
- poly-vector!
- pos-double!
- pos-float!
- pos-int!
- pos-long!
- references
- register-element!
- remove-decoration-rule!
- remove-undecoration-rule!
- remove-validation-rule!
- req-key
- req-un-key
- reset-decoration-rules!
- reset-undecoration-rules!
- reset-validation-rules!
- sensible
- sensible!
- set-of!
- string!
- summary-entry
- test-all-functions
- test-function
- tuple!
- type-normalizer!
- type-normalizers
- type-normalizers!
- types->functions
- undecorate
- undecoration-rule!
- undecoration-rules
- uuid!
- valid-all?
- valid?
- validation-rule!
- validation-rules
- vector!
- wrap-gen-f
diction.util
Public variables and functions:
- ->edn
- ->json
- ->kw
- ->skewer
- ->skewer-kw
- ->snake
- ->str
- add-encoders-result
- apply-f-to-keys
- coin-toss?
- default-label-replacements
- force-in-range
- generate-random-uuid
- joda-class
- joda?
- json-encode-to-string-classes
- label-replacements
- label-replacements!
- labelize
- labelize-element
- normalize-words
- polite-assoc
- polite-assoc-in
- polite-conj
- random-double
- random-float
- random-int
- random-long
- replace-labels
- replace-with
- rndm
- safe-nth
- skewer-keys
- snake-keys
- stack-assoc
- strict-double?
- strict-float?
- strict-int?
- strict-long?
- vls?
- walk-apply-key-f