Liking cljdoc? Tell your friends :D

ajax.goog-json


goog-json-request-formatcljs

source

goog-json-response-formatcljs

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

read-json-googlecljs

(read-json-google raw keywords? text)
source

write-json-googlecljs

(write-json-google data)
source

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

× close