Fork me on GitHub
#babashka
<
2021-07-10
>
Joshua Suskalo00:07:02

java.time.format package is available for this.

👍 6
wilkerlucio00:07:35

that works, thanks

borkdude09:07:01

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}]

❤️ 3
onetom15:07:40

@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? :)

borkdude07:07:40

@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...

borkdude07:07:57

Not sure if we can reach 100% compatibility, but surely 90%

onetom07:07:34

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 :)

borkdude07:07:27

oh you can comment after the issue is closed, no problem ;)

borkdude15:07:58

github in browser

borkdude21:07:52

Here is a test version of babashka with logging. Welcome to give it a try. https://github.com/babashka/babashka/discussions/926#discussioncomment-989191

🚀 3