This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-09
Channels
- # admin-announcements (40)
- # beginners (6)
- # boot (69)
- # braid-chat (43)
- # business (3)
- # cljsrn (99)
- # clojure (51)
- # clojure-art (2)
- # clojure-brasil (2)
- # clojure-dev (23)
- # clojure-portugal (1)
- # clojure-russia (15)
- # clojurescript (52)
- # community-development (319)
- # core-async (1)
- # cursive (40)
- # datomic (6)
- # editors (11)
- # emacs (1)
- # hoplon (20)
- # jobs (1)
- # ldnclj (5)
- # leiningen (2)
- # mount (5)
- # off-topic (1)
- # om (45)
- # proton (5)
- # re-frame (29)
- # reagent (4)
- # ring-swagger (1)
- # yada (6)
OK looks like perhaps https://github.com/cognitect/transit-format is the answer
a JSON parsing lib like cheshire https://github.com/dakrone/cheshire will turn a string of JSON received from a web service into ordinary clojure data structures- see the parse-string function. to then encode ordinary clojure data into EDN, use pr.
Re: question above, can’t believe I hadn’t seen js->clj
and clj->js
. As it happens, the http lib I was using had already performed the conversion. https://github.com/r0man/cljs-http/blob/990bfb0a4be92f929c429f2999cb182d79cdbf75/src/cljs_http/util.cljs#L64