Liking cljdoc? Tell your friends :D

stillsuit.lacinia.scalars

Implementation functions for stillsuit scalar transformers.

The intent here is to provide transformers for all of datomic's primitive values, though we ignore some oddball types like :db.type/uri.

Implementation functions for stillsuit scalar transformers.

The intent here is to provide transformers for all of datomic's primitive values,
though we ignore some oddball types like `:db.type/uri`.
raw docstring

keyword-parserclj

(keyword-parser keyword-str)
source

keyword-serializerclj

(keyword-serializer with-colon?)
source

parse-ednclj

(parse-edn value-str)
source

parse-epoch-millisecsclj

(parse-epoch-millisecs msec-str)

Parser converting number of milliseconds since the UTC epoch (as a string) to a java.util.Date value.

Parser converting number of milliseconds since the UTC epoch (as a string) to a
`java.util.Date` value.
sourceraw docstring

parse-iso8601clj

(parse-iso8601 date-str)

Parser which will parse dates in ISO-8601 format, convert them to UTC time, and return a java.util.Date result.

Parser which will parse dates in ISO-8601 format, convert them to UTC time, and return
a `java.util.Date` result.
sourceraw docstring

parse-uuidclj

(parse-uuid u)
source

serialize-epoch-millisecsclj

(serialize-epoch-millisecs date)

Serializer representing a java.util.Date object as a string representing the number of milliseconds since the UTC epoch.

Serializer representing a `java.util.Date` object as a string representing the number
of milliseconds since the UTC epoch.
sourceraw docstring

serialize-iso8601clj

(serialize-iso8601 date)

Serializer which will serialize dates as ISO-8601 strings in the UTC timezone.

Serializer which will serialize dates as ISO-8601 strings in the UTC timezone.
sourceraw docstring

serialize-pr-strclj

source

serialize-strclj

Basic convert-to-string serializer, which just relies on good old (str)

Basic convert-to-string serializer, which just relies on good old `(str)`
sourceraw docstring

transformer-mapclj

(transformer-map base-map config)

Given a base resolver map used attach scalar transformers to a lacinia schema, attach the transformers for datomic primitive types.

Given a base resolver map used attach scalar transformers to a lacinia schema, attach the
transformers for datomic primitive types.
sourceraw docstring

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

× close