Created
December 17, 2016 15:12
-
-
Save devstopfix/6ed1179992a64948503cf0ca3b7484e7 to your computer and use it in GitHub Desktop.
ClojureScript/Planck HTTP GET as json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'goog.json) | |
| (-> | |
| (get "https://www.reddit.com/r/clojure/top/.json?count=20") | |
| (:body) | |
| (goog.json/parse) | |
| (js->clj)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment