(->field-selection {:keys [selection positions] :as spec})Same a field-selection but also behave as identity when input is already a FieldSelection object
Same a field-selection but also behave as identity when input is already a FieldSelection object
(field-selection {:keys [type-hint schema]})(field-selection type-hint schema)Builds a FieldSelection object from a Clojure schema. Three formats are allowed and must be hinted :
Builds a FieldSelection object from
a Clojure schema. Three formats are allowed
and must be hinted :
- map representation : {:a {:b {:d false , :e 1.0} :f 'koala'}}, there keys are default values
(only numbers, text and boolean are supported for now, nil meaning
no default value)
- regular representation : DL4J input format [[:a :b :d] [:a :b :e] [:a :f]]
The statements above might evolve in more mature iterations(jackson-line-record-reader {:keys [type-hint schema object-mapper]
:as options})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |