Liking cljdoc? Tell your friends :D

cli-matic.presets


asDateclj

(asDate s)

Converts a string to a Date object; if conversion fails, returns nil.

Converts a string to a Date object; if conversion
fails, returns nil.
sourceraw docstring

asDecodedJsonFileclj

(asDecodedJsonFile filename)

Decodes the contents of a file as a JSON object.

Decodes the contents of a file as a JSON object.
sourceraw docstring

asDecodedJsonValueclj

(asDecodedJsonValue s)

Decodes the value as a JSON object.

Decodes the value as a JSON object.
sourceraw docstring

asLinesStringclj

(asLinesString filename)

Reads a text file and returns it as a collection of lines.

Reads a text file and returns it as a collection of lines.
sourceraw docstring

asSingleStringclj

(asSingleString filename)

Turns a filename into a single string.

If argument is a String, it tries to resolve it first as a URI, then as a local file name. URIs with a 'file' protocol are converted to local file names.

Turns a filename into a single string.

 If argument is a String, it tries to resolve it first as a URI, then
as a local file name.  URIs with a 'file' protocol are converted to
local file names.

 
sourceraw docstring

json-decodeclj

(json-decode & args)

Resolve and apply cheshire's json decoding dynamically.

Resolve and apply cheshire's json decoding dynamically.
sourceraw docstring

json-enabled?clj

source

known-presetsclj

source

parseFloatclj

(parseFloat s)

Converts a string to a float.

Converts a string to a float.
sourceraw docstring

parseIntclj

(parseInt s)

Converts a string to an integer.

Converts a string to an integer. 
sourceraw docstring

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

× close