(clj->json input)
Converts a Clojure object to JSON. This is a test helper, so no Cljs.
Converts a Clojure object to JSON. This is a test helper, so no Cljs.
(decode-base64 payload)
Cross platform helper function for decoding base64
Cross platform helper function for decoding base64
(encode-base64 payload)
Base64 encoder. For testing only, so no Cljs.
Base64 encoder. For testing only, so no Cljs.
(encode-params params)
Encodes the challenge parameters as an URL (using URLEncoder
)
Encodes the challenge parameters as an URL (using `URLEncoder`)
Encodes the challenge parameters as a URL (using URLSearchParams
)
Encodes the challenge parameters as a URL (using `URLSearchParams`)
(extract-params salt)
Extracts the URL-encoded parameters map from the salt
Extracts the URL-encoded parameters map from the salt
(json->clj json-str)
Converts a JSON string to a corresponding Clojure object. ClojureScript implementation uses the native JSON.parse JVM version uses Cheshire.
Converts a JSON string to a corresponding Clojure object. ClojureScript implementation uses the native JSON.parse JVM version uses Cheshire.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close