Returns a JSON response format using the native JSON implementation. Options include :keywords? Returns the keys as keywords :prefix A prefix that needs to be stripped off. This is to combat JSON hijacking. If you're using JSON with GET request, you should think about using this. http://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses http://haacked.com/archive/2009/06/24/json-hijacking.aspx
Returns a JSON response format using the native JSON implementation. Options include :keywords? Returns the keys as keywords :prefix A prefix that needs to be stripped off. This is to combat JSON hijacking. If you're using JSON with GET request, you should think about using this. http://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses http://haacked.com/archive/2009/06/24/json-hijacking.aspx
(make-json-response-format read-json)
Create a json request format given read-json
function.
Create a json request format given `read-json` function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close