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