Truly, we live in the garden of edn

204 views
Skip to first unread message

Harold

unread,
Aug 28, 2020, 8:43:00 PM8/28/20
to Clojure
Hello,

I hope all are safe and doing well in these perplexing times.

Today, again, while working on the server side of an HTTPS api that transparently serves clients who speak different languages (some JSON and some edn, using the delightful muuntaja library) it hit me, again, what an elegant beauty edn has.

I was made to wonder how the rest of the world lives!

 - What is the standard operating procedure for GUID/UUIDs (unique identifiers) and timestamps in JSON?

Is it just stringifying and parsing on both sides all the time?

Any thoughts from your personal experience would be appreciated.

Warmly,
-Harold

P.S. Also, never thinking about commas

P.P.S. Also, sets and keywords and ints and extensibility and characters and symbols and thank you very much! (:

Matching Socks

unread,
Sep 13, 2020, 1:24:27 PM9/13/20
to Clojure
I can't comment on the whole crazy world of JSON, but it's a shame to think of all the coal-fired watts spent unnecessarily parsing UUIDs.  If all you need is a string, there is no dishonor in letting it be a string.
  
I was made to wonder how the rest of the world lives!

P.S. Also, never thinking about commas

P.P.S. Also, sets and keywords and ints and extensibility and characters and symbols and thank you very much! (:

P.S.,  Yes!  Yes again!!
Reply all
Reply to author
Forward
0 new messages