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

hash-maps->json-linesclj

(hash-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

http-response-json->hash-mapclj

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

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

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

http-response-jsonline->hash-mapsclj

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

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

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

json->hash-mapclj

(json->hash-map json)

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

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

json-lines->hash-mapsclj

(json-lines->hash-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

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

× close