Liking cljdoc? Tell your friends :D

typesense.util


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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

json-lines->mapsclj

(json-lines->maps json-lines)

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

Transforms json-lines into a vector of maps.
Returns empty vector if json-lines are nil or blank.
sourceraw docstring

map->url-parameter-stringclj

(map->url-parameter-string 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.
sourceraw 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.
sourceraw docstring

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

× close