This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-10
Channels
- # announcements (3)
- # architecture (54)
- # babashka (11)
- # beginners (12)
- # calva (5)
- # clj-on-windows (1)
- # cljdoc (2)
- # cljs-dev (1)
- # cljsrn (6)
- # clojure (130)
- # clojure-europe (8)
- # clojurescript (21)
- # conjure (23)
- # core-async (4)
- # datomic (7)
- # depstar (77)
- # events (1)
- # fulcro (27)
- # lsp (88)
- # malli (5)
- # meander (1)
- # off-topic (4)
- # pathom (43)
- # polylith (39)
- # re-frame (9)
- # shadow-cljs (14)
- # timbre (3)
- # tools-deps (53)
that works, thanks
Babashka master can now run this fork of clojure.data.json (with two minor changes) from source. https://github.com/babashka/data.json
$ bb -cp src/main/clojure -e "(require '[clojure.data.json :as json]) (json/read-str (json/write-str (repeat 10 {:a 1})))"
[{"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1} {"a" 1}]
An interesting benchmark: https://github.com/babashka/babashka/issues/919#issuecomment-877629896
@borkdude how can you react so quickly to github comments? how are you getting your notifications? mobile? browser notification? github desktop app? some emacs package? :)
@U086D6TBN One thing I've been considering: we could build a shim for clojure.data.json using the already available cheshire into bb, for compatibility...
i saw this idea in your github comment. i wanted to say there that it's better not to bloat babashka with such things, but then you closed the issue and it thought i better don't bother u with this question anymore :)
Here is a test version of babashka with logging. Welcome to give it a try. https://github.com/babashka/babashka/discussions/926#discussioncomment-989191