This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-08
Channels
- # alda (1)
- # announcements (18)
- # babashka (101)
- # beginners (110)
- # calva (17)
- # cider (53)
- # clara (18)
- # clj-kondo (26)
- # cljdoc (6)
- # clojure (152)
- # clojure-europe (9)
- # clojure-portugal (4)
- # clojure-spec (20)
- # clojure-survey (7)
- # clojure-sweden (10)
- # clojure-uk (10)
- # clojured (1)
- # clojurescript (29)
- # core-async (7)
- # cursive (4)
- # datomic (11)
- # defnpodcast (2)
- # dirac (1)
- # emacs (13)
- # events (2)
- # figwheel-main (1)
- # fulcro (1)
- # jobs (14)
- # jobs-discuss (17)
- # leiningen (2)
- # malli (1)
- # off-topic (74)
- # overtone (1)
- # pedestal (4)
- # planck (2)
- # re-frame (7)
- # reitit (4)
- # remote-jobs (4)
- # shadow-cljs (78)
- # slack-help (3)
- # spacemacs (56)
- # test-check (3)
- # tools-deps (6)
Hello everybody, just release a new library called edn-json
(https://github.com/wilkerlucio/edn-json).
This library provides a way to encode EDN data to JSON, similar to clj->js
, but does it in a way that allows restauration of the EDN types on the conversion back (keywords, symbols, uuids, etc...). The intended application is to be able to store data from EDN in JSON document stores (like MongoDB, IndexedDB...) in a way that keeps them efficient (leveraging the structure) while enable the data to be converted back to it's original form. More details on the README.
Is this similar to transit
?
For transit, they specifically caution against storing the results, while this one encourages it @U6SN41SJC
Ah, makes sense. So they are complimentary? Or would you say edn-json
is a super set of the functionality that transit
provides?
Yea, complementary, I think. It sounds like it would still make sense to use transit for transport, and this for anything durable (or if you need other JS-like tools to be able to interact with it easily)
I believe that transit no longer discourages you from using it to store results - they updated the readme after having no breaking changes for a few years.
Ah you're right: https://github.com/cognitect/transit-js/commit/f49c7bae88bfbb4b0c36966d8a987341e44a3359
I think the distinction is, transit uses json as a storage/transmission medium, but edn-json actually translates to json
the json transit produces is good for ensuring faithful round-trips in and out of edn types, but it’s not good for consuming as json
edn-json gives up some round-tripability to get something that a native json environment could consume comfortably
thanks, fixed
Hello guys, I just released a new library for working with Microsoft Exchange. It's built on top of ews-java-api
so it simplifies communication with Exchange a lot. Any suggestions or PRs are very welcomed 🙂
https://github.com/pmensik/exchange-api
New release for deps-try - Quickly try out dependencies on rebel-readline. https://gitlab.com/eval/deps-try/tree/master#deps-try Updates: - rebel-readline now pprints return values (thanks to @dominicm) - invoke without dep Get Started
$ clojure -A:try clj-time
...
user=> (require '[clj-time.core :as t])
user=> (t/now)
;; add additional dependencies
user=> :repl/try tick
How is deps-try
better than using -Sdeps
? It's a bit less verbose (assuming deps-try
is added in the user's clj config), but is there something I'm missing?