(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.
(asDecodedEdnFile filename)
Decodes the contents of a file as a JSON object.
Decodes the contents of a file as a JSON object.
(asDecodedEdnValue s)
Decodes the value as an EDN structure.
Decodes the value as an EDN structure.
(asDecodedJsonFile filename)
Decodes the contents of a file as a JSON object.
Decodes the contents of a file as a JSON object.
(asDecodedJsonValue s)
Decodes the value as a JSON object.
Decodes the value as a JSON object.
(asDecodedYamlFile filename)
Decodes the contents of a file as a JSON object.
Decodes the contents of a file as a JSON object.
(asDecodedYamlValue s)
Decodes the value as a YAML object.
Decodes the value as a YAML object.
(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.
(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.
(json-decode & args)
Resolve and apply cheshire's json decoding dynamically.
Resolve and apply cheshire's json decoding dynamically.
(parseFloat s)
Converts a string to a float.
Converts a string to a float.
(parseInt s)
Converts a string to an integer.
Converts a string to an integer.
(yaml-decode & args)
Resolve and apply io.forward/yaml's yaml decoding dynamically.
Resolve and apply io.forward/yaml's yaml decoding dynamically.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close