-
-
Save tomjack/d58de88cc6db11bd1122 to your computer and use it in GitHub Desktop.
This file contains 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
(->> response | |
client/string | |
(mapcat (partial re-seq #".+\r\n")) | |
(map (comp f json/read-json)) | |
doall) | |
(let [records (->> response | |
client/string | |
(mapcat (partial re-seq #".+\r\n")) | |
(map json/read-json))] | |
(doseq [record records] | |
(f record))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment