Liking cljdoc? Tell your friends :D

typesense.util


build-queryclj

(build-query query-params)

Convert param pairs into a query string. If query-params are empty returns empty string.

Convert param pairs into a query string.
If query-params are empty returns empty string.
raw docstring

http-response-json->mapclj

(http-response-json->map {:keys [body]})

Transforms HTTP response json to a map. Returns nil if HTTP response body is nil or a blank string.

Transforms HTTP response json to a map.
Returns nil if HTTP response body is nil or a blank string.
raw docstring

http-response-jsonline->mapsclj

(http-response-jsonline->maps {:keys [body]})

Transforms HTTP response jsonline to vector of maps. Returns empty vector if HTTP response body is nil or a blank string.

Transforms HTTP response jsonline to vector of maps.
Returns empty vector if HTTP response body is nil or a blank string.
raw docstring

json->mapclj

(json->map json)

Transforms json to a map. Return nil if the json string is nil or blank.

Transforms json to a map.
Return nil if the json string is nil or blank.
raw docstring

json-lines->mapsclj

(json-lines->maps json-lines)

Transforms json-lines to vector of maps. Returns empty vector if json-lines are nil or blank.

Transforms json-lines to vector of maps.
Returns empty vector if json-lines are nil or blank.
raw docstring

maps->json-linesclj

(maps->json-lines ms)

Take a vector of maps and returns json-line format. Returns an empty string if the vector is empty.

Take a vector of maps and returns json-line format.
Returns an empty string if the vector is empty.
raw docstring

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

× close