(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close